xtd
0.2.0
Loading...
Searching...
No Matches
◆
as()
[17/52]
template<typename new_type_t >
new_type_t xtd::as
(
sbyte
value
)
Casts a type into another type.
Parameters
value
object to convert.
Returns
A new new_type_t object converted from value.
Header
#include <xtd/as>
Namespace
xtd
Library
xtd.core
Examples
sbyte
value = 42;
float
result =
as<float>
(value);
xtd::sbyte
int8_t sbyte
Represents a 8-bit signed integer.
Definition
sbyte.h:23
xtd::as< float >
float as< float >(std::any value)
Casts a type into another type.
Definition
__as_float.h:36
xtd
Generated on Sat Sep 14 2024 21:25:16 for xtd by
Gammasoft
. All rights reserved.