xtd
0.2.0
Loading...
Searching...
No Matches
◆
as< string >()
[6/30]
template<>
string
xtd::as
<
string
>
(
char8
value
)
inline
Casts a type into another type.
Parameters
value
object to convert.
Returns
A new
xtd::ulong
object converted from value.
Exceptions
xtd::invalid_cast_exception
throws always exception.
Header
#include <xtd/as>
Namespace
xtd
Library
xtd.core
Examples
char8
value = u8
'a'
;
xtd::ulong
result =
as<xtd::ulong>
(value);
xtd::char8
char8_t char8
Represents a 8-bit unicode character.
Definition
char8.h:27
xtd::ulong
__ulong__ ulong
Represents a 32-bit or 64-bit unsigned integer.
Definition
ulong.h:27
xtd::as< xtd::ulong >
xtd::ulong as< xtd::ulong >(std::any value)
Casts a type into another type.
Definition
__as_ulong.h:36
xtd
Generated on Sat Sep 14 2024 21:25:16 for xtd by
Gammasoft
. All rights reserved.