13#define __XTD_STD_INTERNAL__
15#undef __XTD_STD_INTERNAL__
43 static std::any
to_any(std::any value)
noexcept;
52 static std::any
to_any(
bool value)
noexcept;
70 static std::any
to_any(
char value)
noexcept;
71#if defined(__xtd__cpp_lib_char8_t)
127 static std::any
to_any(
double value)
noexcept;
139 static std::any
to_any(
float value)
noexcept;
231 static std::any
to_any(
const std::string& value)
noexcept;
232#if defined(__xtd__cpp_lib_char8_t)
233 static std::any
to_any(
const std::u8string& value)
noexcept;
235 static std::any
to_any(
const std::u16string& value)
noexcept;
236 static std::any
to_any(
const std::u32string& value)
noexcept;
237 static std::any
to_any(
const std::wstring& value)
noexcept;
238 static std::any
to_any(
const char* value)
noexcept;
239 static std::any
to_any(
char* value)
noexcept;
240#if defined(__xtd__cpp_lib_char8_t)
248 static std::any
to_any(
const wchar* value)
noexcept;
259 template<
typename type_t>
262 return std::any(value);
306#if defined(__xtd__cpp_lib_char8_t)
470 static bool to_boolean(
const std::string& value);
471#if defined(__xtd__cpp_lib_char8_t)
472 static bool to_boolean(
const std::u8string& value);
474 static bool to_boolean(
const std::u16string& value);
475 static bool to_boolean(
const std::u32string& value);
476 static bool to_boolean(
const std::wstring& value);
479#if defined(__xtd__cpp_lib_char8_t)
498 template<
typename type_t>
500 return static_cast<bool>(value);
539#if defined(__xtd__cpp_lib_char8_t)
726#if defined(__xtd__cpp_lib_char8_t)
734#if defined(__xtd__cpp_lib_char8_t)
753 template<
typename type_t>
794#if defined(__xtd__cpp_lib_char8_t)
968 static char to_char(
const std::string& value);
969#if defined(__xtd__cpp_lib_char8_t)
970 static char to_char(
const std::u8string& value);
972 static char to_char(
const std::u16string& value);
973 static char to_char(
const std::u32string& value);
974 static char to_char(
const std::wstring& value);
975 static char to_char(
const char* value);
976 static char to_char(
char* value);
977#if defined(__xtd__cpp_lib_char8_t)
996 template<
typename type_t>
998 return static_cast<char>(value);
1001#if defined(__xtd__cpp_lib_char8_t)
1234 template<
typename type_t>
1236 return static_cast<char8>(value);
1276#if defined(__xtd__cpp_lib_char8_t)
1448#if defined(__xtd__cpp_lib_char8_t)
1456#if defined(__xtd__cpp_lib_char8_t)
1475 template<
typename type_t>
1477 return static_cast<char16>(value);
1516#if defined(__xtd__cpp_lib_char8_t)
1686#if defined(__xtd__cpp_lib_char8_t)
1694#if defined(__xtd__cpp_lib_char8_t)
1713 template<
typename type_t>
1715 return static_cast<char32>(value);
1754#if defined(__xtd__cpp_lib_char8_t)
1926#if defined(__xtd__cpp_lib_char8_t)
1934#if defined(__xtd__cpp_lib_char8_t)
1953 template<
typename type_t>
1955 return static_cast<wchar>(value);
1994#if defined(__xtd__cpp_lib_char8_t)
2155#if defined(__xtd__cpp_lib_char8_t)
2163#if defined(__xtd__cpp_lib_char8_t)
2182 template<
typename type_t>
2184 return static_cast<decimal>(value);
2223#if defined(__xtd__cpp_lib_char8_t)
2383 static double to_double(
const std::string& value);
2384#if defined(__xtd__cpp_lib_char8_t)
2385 static double to_double(
const std::u8string& value);
2387 static double to_double(
const std::u16string& value);
2388 static double to_double(
const std::u32string& value);
2389 static double to_double(
const std::wstring& value);
2390 static double to_double(
const char* value);
2392#if defined(__xtd__cpp_lib_char8_t)
2411 template<
typename type_t>
2413 return static_cast<double>(value);
2452#if defined(__xtd__cpp_lib_char8_t)
2612 static float to_single(
const std::string& value);
2613#if defined(__xtd__cpp_lib_char8_t)
2614 static float to_single(
const std::u8string& value);
2616 static float to_single(
const std::u16string& value);
2617 static float to_single(
const std::u32string& value);
2618 static float to_single(
const std::wstring& value);
2619 static float to_single(
const char* value);
2621#if defined(__xtd__cpp_lib_char8_t)
2640 template<
typename type_t>
2642 return static_cast<float>(value);
2681#if defined(__xtd__cpp_lib_char8_t)
2864#if defined(__xtd__cpp_lib_char8_t)
2872#if defined(__xtd__cpp_lib_char8_t)
2891 template<
typename type_t>
2893 return static_cast<int16>(value);
2932#if defined(__xtd__cpp_lib_char8_t)
3111#if defined(__xtd__cpp_lib_char8_t)
3119#if defined(__xtd__cpp_lib_char8_t)
3138 template<
typename type_t>
3140 return static_cast<int32>(value);
3179#if defined(__xtd__cpp_lib_char8_t)
3353#if defined(__xtd__cpp_lib_char8_t)
3361#if defined(__xtd__cpp_lib_char8_t)
3380 template<
typename type_t>
3382 return static_cast<int64>(value);
3421#if defined(__xtd__cpp_lib_char8_t)
3595#if defined(__xtd__cpp_lib_char8_t)
3603#if defined(__xtd__cpp_lib_char8_t)
3622 template<
typename type_t>
3624 return static_cast<slong>(value);
3663#if defined(__xtd__cpp_lib_char8_t)
3850#if defined(__xtd__cpp_lib_char8_t)
3858#if defined(__xtd__cpp_lib_char8_t)
3877 template<
typename type_t>
3879 return static_cast<sbyte>(value);
3918#if defined(__xtd__cpp_lib_char8_t)
4102#if defined(__xtd__cpp_lib_char8_t)
4110#if defined(__xtd__cpp_lib_char8_t)
4129 template<
typename type_t>
4131 return static_cast<uint16>(value);
4170#if defined(__xtd__cpp_lib_char8_t)
4352#if defined(__xtd__cpp_lib_char8_t)
4360#if defined(__xtd__cpp_lib_char8_t)
4379 template<
typename type_t>
4381 return static_cast<uint32>(value);
4420#if defined(__xtd__cpp_lib_char8_t)
4600#if defined(__xtd__cpp_lib_char8_t)
4608#if defined(__xtd__cpp_lib_char8_t)
4627 template<
typename type_t>
4629 return static_cast<uint64>(value);
4668#if defined(__xtd__cpp_lib_char8_t)
4848#if defined(__xtd__cpp_lib_char8_t)
4856#if defined(__xtd__cpp_lib_char8_t)
4875 template<
typename type_t>
4927#if defined(__xtd__cpp_lib_char8_t)
5194 static string to_string(
const std::string& value);
5195#if defined(__xtd__cpp_lib_char8_t)
5196 static string to_string(
const std::u8string& value);
5198 static string to_string(
const std::u16string& value);
5199 static string to_string(
const std::u32string& value);
5200 static string to_string(
const std::wstring& value);
5201 static string to_string(
const char* value);
5203#if defined(__xtd__cpp_lib_char8_t)
5222 template<
typename type_t>
5274#if defined(__xtd__cpp_lib_char8_t)
5541 static string to_ustring(
const std::string& value);
5542#if defined(__xtd__cpp_lib_char8_t)
5543 static string to_ustring(
const std::u8string& value);
5545 static string to_ustring(
const std::u16string& value);
5546 static string to_ustring(
const std::u32string& value);
5547 static string to_ustring(
const std::wstring& value);
5550#if defined(__xtd__cpp_lib_char8_t)
5569 template<
typename type_t>
Contains __xtd_std_version definitions.
Contains std::any type and std::bad_any_cast exception.
Contains xtd::argument_exception exception.
Represents text as a sequence of character units.
Definition basic_string.h:79
Represents API to convert base type code.
Definition convert.h:30
static sbyte to_sbyte(double value)
Convert double to sbyte.
static uint64 to_uint64(xtd::ulong value) noexcept
Convert slong to uint64.
static float to_single(int64 value) noexcept
Convert int64 to single.
static int16 to_int16(int64 value)
Convert int64 to int16.
static bool to_boolean(char8 value)
Convert char8 to bool.
static double to_double(char16 value) noexcept
Convert char16 to double.
static uint64 to_uint64(char16 value) noexcept
Convert char16 to uint64.
static string to_string(xtd::byte value) noexcept
Convert xtd::byte to string.
static xtd::byte to_byte(const xtd::string &value, xtd::byte from_base)
Convert string to byte.
static uint32 to_uint32(sbyte value)
Convert sbyte to uint32.
static double to_double(uint32 value) noexcept
Convert uint32 to double.
static int16 to_int16(const xtd::string &value, xtd::byte from_base)
Convert string to int16.
static std::any to_any(int16 value) noexcept
Convert int16 to std::any.
static char16 to_char16(xtd::byte value) noexcept
Convert xtd::byte to char16.
static std::any to_any(slong value) noexcept
Convert slong to std::any.
static uint16 to_uint16(bool value) noexcept
Convert bool to uint16.
static sbyte to_sbyte(uint64 value)
Convert uint64 to sbyte.
static wchar to_wchar(xtd::ulong value)
Convert slong to wchar.
static double to_double(sbyte value) noexcept
Convert sbyte to double.
static bool to_boolean(uint64 value) noexcept
Convert uint64 to bool.
static sbyte to_sbyte(int16 value)
Convert int16 to sbyte.
static wchar to_wchar(bool value)
Convert bool to wchar.
static string to_string(xtd::ulong value) noexcept
Convert slong to string.
static float to_single(const xtd::string &value)
Convert string to single.
static uint32 to_uint32(slong value)
Convert slong to uint32.
static bool to_boolean(const xtd::string &value)
Convert string to bool.
static slong to_llong(char value) noexcept
Convert char to slong.
static wchar to_wchar(uint32 value)
Convert uint32 to wchar.
static xtd::byte to_byte(uint64 value)
Convert uint64 to byte.
static slong to_llong(uint64 value)
Convert uint64 to slong.
static double to_double(std::any value)
Convert std::any to double.
static slong to_llong(slong value) noexcept
Convert slong to slong.
static char32 to_char32(const xtd::string &value)
Convert string to char32.
static xtd::byte to_byte(char32 value)
Convert char32 to byte.
static uint32 to_uint32(char16 value) noexcept
Convert char16 to uint32.
static bool to_boolean(slong value) noexcept
Convert slong to bool.
static wchar to_wchar(std::any value)
Convert std::any to wchar.
static char16 to_char16(const xtd::string &value)
Convert string to char16.
static char32 to_char32(int32 value)
Convert int32 to char32.
static char to_char(char16 value)
Convert char16 to char.
static slong to_llong(char32 value) noexcept
Convert char32 to slong.
static char8 to_char8(char value) noexcept
Convert char to char8.
static string to_ustring(int64 value, xtd::byte from_base)
Convert string to string.
static string to_string(uint32 value, xtd::byte from_base)
Convert string to string.
static xtd::byte to_byte(xtd::ulong value)
Convert slong to byte.
static string to_string(uint16 value) noexcept
Convert uint16 to string.
static float to_single(sbyte value) noexcept
Convert sbyte to single.
static string to_string(int64 value, xtd::byte from_base)
Convert string to string.
static uint32 to_uint32(float value)
Convert float to uint32.
static xtd::byte to_byte(char value) noexcept
Convert char to byte.
static wchar to_wchar(xtd::byte value) noexcept
Convert xtd::byte to wchar.
static slong to_llong(sbyte value) noexcept
Convert sbyte to slong.
static int64 to_int64(float value) noexcept
Convert float to int64.
static char32 to_char32(xtd::byte value) noexcept
Convert xtd::byte to char32.
static string to_ustring(wchar value) noexcept
Convert char32 to string.
static float to_single(char value) noexcept
Convert char to single.
static bool to_boolean(int16 value) noexcept
Convert int16 to bool.
static xtd::ulong to_ullong(char32 value) noexcept
Convert char32 to xtd::ulong.
static float to_single(double value) noexcept
Convert double to single.
static char32 to_char32(sbyte value)
Convert sbyte to char32.
static xtd::ulong to_ullong(char16 value) noexcept
Convert char16 to xtd::ulong.
static uint16 to_uint16(char16 value) noexcept
Convert char16 to uint16.
static wchar to_wchar(decimal value)
Convert decimal to wchar.
static char16 to_char16(char8 value) noexcept
Convert char8 to char16.
static int32 to_int32(float value) noexcept
Convert float to int32.
static int16 to_int16(char value) noexcept
Convert char to int16.
static char to_char(uint64 value)
Convert uint64 to char.
static string to_ustring(int16 value, xtd::byte from_base)
Convert string to string.
static int64 to_int64(char32 value) noexcept
Convert char32 to int64.
static string to_string(float value)
Convert float to string.
static uint32 to_uint32(uint16 value) noexcept
Convert uint16 to uint32.
static float to_single(char32 value) noexcept
Convert char32 to single.
static uint64 to_uint64(uint32 value) noexcept
Convert uint32 to uint64.
static string to_ustring(decimal value)
Convert decimal to string.
static double to_double(int64 value) noexcept
Convert int64 to double.
static double to_double(char8 value) noexcept
Convert char8 to double.
static wchar to_wchar(char32 value)
Convert char32 to wchar.
static char32 to_char32(xtd::ulong value)
Convert slong to char32.
static uint64 to_uint64(xtd::byte value) noexcept
Convert xtd::byte to uint64.
static char16 to_char16(type_t value) noexcept
Convert type_t to char16.
Definition convert.h:1476
static string to_string(char value) noexcept
Convert char to string.
static bool to_boolean(std::any value)
Convert std::any to bool.
static std::any to_any(int64 value) noexcept
Convert int64 to std::any.
static xtd::ulong to_ullong(bool value) noexcept
Convert bool to xtd::ulong.
static char16 to_char16(uint16 value) noexcept
Convert uint16 to char16.
static char32 to_char32(decimal value)
Convert decimal to char32.
static uint16 to_uint16(char value) noexcept
Convert char to uint16.
static decimal to_decimal(char32 value) noexcept
Convert char32 to decimal.
static string to_ustring(xtd::ulong value) noexcept
Convert slong to string.
static int32 to_int32(slong value)
Convert slong to int32.
static uint16 to_uint16(wchar value) noexcept
Convert char32 to uint16.
static char to_char(uint16 value)
Convert uint16 to char.
static std::any to_any(wchar value) noexcept
Convert wchar to std::any.
static uint32 to_uint32(char32 value) noexcept
Convert char32 to uint32.
static double to_double(xtd::byte value) noexcept
Convert xtd::byte to double.
static std::any to_any(uint64 value) noexcept
Convert uint64 to std::any.
static string to_string(char8 value) noexcept
Convert char8 to string.
static float to_single(xtd::byte value) noexcept
Convert xtd::byte to single.
static string to_ustring(int16 value)
Convert int16 to string.
static float to_single(std::any value)
Convert std::any to single.
static uint64 to_uint64(int64 value)
Convert int64 to uint64.
static double to_double(double value) noexcept
Convert double to double.
static char8 to_char8(char32 value)
Convert char32 to char8.
static decimal to_decimal(double value) noexcept
Convert double to decimal.
static char8 to_char8(bool value)
Convert bool to char8.
static double to_double(slong value) noexcept
Convert slong to double.
static string to_string(int16 value, xtd::byte from_base)
Convert string to string.
static wchar to_wchar(int16 value)
Convert int16 to wchar.
static slong to_llong(const xtd::string &value, xtd::byte from_base)
Convert string to slong.
static char16 to_char16(uint32 value)
Convert uint32 to char16.
static char16 to_char16(xtd::ulong value)
Convert slong to char16.
static char to_char(uint32 value)
Convert uint32 to char.
static int64 to_int64(uint16 value) noexcept
Convert uint16 to int64.
static string to_ustring(std::any value)
Convert std::any to string.
static uint32 to_uint32(wchar value) noexcept
Convert char32 to uint32.
static int32 to_int32(char8 value) noexcept
Convert char8 to int32.
static char32 to_char32(uint16 value) noexcept
Convert uint16 to char32.
static int32 to_int32(xtd::ulong value)
Convert slong to int32.
static string to_ustring(int64 value)
Convert int64 to string.
static char to_char(slong value)
Convert slong to char.
static decimal to_decimal(xtd::byte value) noexcept
Convert xtd::byte to decimal.
static xtd::ulong to_ullong(std::any value)
Convert std::any to xtd::ulong.
static uint32 to_uint32(double value)
Convert double to uint32.
static std::any to_any(uint32 value) noexcept
Convert uint32 to std::any.
static sbyte to_sbyte(int32 value)
Convert int32 to sbyte.
static xtd::byte to_byte(double value)
Convert double to byte.
static xtd::byte to_byte(const xtd::string &value)
Convert string to byte.
static string to_ustring(char32 value) noexcept
Convert char32 to string.
static std::any to_any(char32 value) noexcept
Convert char32 to std::any.
static xtd::byte to_byte(int16 value)
Convert int16 to byte.
static float to_single(bool value) noexcept
Convert bool to single.
static int64 to_int64(uint64 value)
Convert uint64 to int64.
static char32 to_char32(float value)
Convert float to char32.
static decimal to_decimal(char8 value) noexcept
Convert char8 to decimal.
static int32 to_int32(std::any value)
Convert std::any to int32.
static int64 to_int64(bool value) noexcept
Convert bool to int64.
static uint32 to_uint32(type_t value) noexcept
Convert type_t to uint32.
Definition convert.h:4380
static bool to_boolean(char value)
Convert char to bool.
static float to_single(uint32 value) noexcept
Convert uint32 to single.
static wchar to_wchar(double value)
Convert double to wchar.
static slong to_llong(char16 value) noexcept
Convert char16 to slong.
static xtd::byte to_byte(bool value) noexcept
Convert bool to byte.
static char to_char(decimal value)
Convert decimal to char.
static string to_ustring(uint32 value) noexcept
Convert uint32 to string.
static float to_single(slong value) noexcept
Convert slong to single.
static sbyte to_sbyte(const xtd::string &value)
Convert string to sbyte.
static uint16 to_uint16(int32 value)
Convert int32 to uint16.
static std::any to_any(xtd::byte value) noexcept
Convert xtd::byte to std::any.
static decimal to_decimal(wchar value) noexcept
Convert char32 to decimal.
static wchar to_wchar(char8 value) noexcept
Convert char8 to wchar.
static float to_single(uint64 value) noexcept
Convert uint64 to single.
static int16 to_int16(type_t value) noexcept
Convert type_t to int16.
Definition convert.h:2892
static bool to_boolean(wchar value)
Convert wchar to bool.
static string to_ustring(uint16 value, xtd::byte from_base)
Convert string to string.
static int16 to_int16(int16 value) noexcept
Convert int16 to int16.
static char8 to_char8(float value)
Convert float to char8.
static decimal to_decimal(bool value) noexcept
Convert bool to decimal.
static int32 to_int32(const xtd::string &value, xtd::byte from_base)
Convert string to int32.
static bool to_boolean(decimal value) noexcept
Convert decimal to bool.
static std::any to_any(xtd::ulong value) noexcept
Convert slong to std::any.
static slong to_llong(xtd::byte value) noexcept
Convert xtd::byte to slong.
static wchar to_wchar(slong value)
Convert slong to wchar.
static int64 to_int64(std::any value)
Convert std::any to int64.
static xtd::byte to_byte(int64 value)
Convert int64 to byte.
static string to_ustring(sbyte value)
Convert sbyte to string.
static uint32 to_uint32(const xtd::string &value, xtd::byte from_base)
Convert string to uint32.
static string to_ustring(uint64 value) noexcept
Convert uint64 to string.
static wchar to_wchar(uint64 value)
Convert uint64 to wchar.
static char8 to_char8(xtd::ulong value)
Convert slong to char8.
static char16 to_char16(char value) noexcept
Convert char to char16.
static uint64 to_uint64(char32 value) noexcept
Convert char32 to uint64.
static uint64 to_uint64(decimal value)
Convert decimal to uint64.
static int16 to_int16(char32 value)
Convert char32 to int16.
static int32 to_int32(uint16 value) noexcept
Convert uint16 to int32.
static slong to_llong(xtd::ulong value)
Convert slong to slong.
static sbyte to_sbyte(char8 value) noexcept
Convert char8 to sbyte.
static sbyte to_sbyte(char16 value)
Convert char16 to sbyte.
static std::any to_any(std::any value) noexcept
Convert std::any to std::any.
static int16 to_int16(xtd::ulong value)
Convert slong to int16.
static string to_string(bool value) noexcept
Convert bool to string.
static char32 to_char32(uint64 value)
Convert uint64 to char32.
static uint32 to_uint32(bool value) noexcept
Convert bool to uint32.
static slong to_llong(uint32 value) noexcept
Convert uint32 to slong.
static bool to_boolean(char32 value)
Convert char32 to bool.
static char to_char(char value) noexcept
Convert char to char.
static uint16 to_uint16(sbyte value)
Convert sbyte to uint16.
static char8 to_char8(std::any value)
Convert std::any to char8.
static xtd::ulong to_ullong(xtd::ulong value) noexcept
Convert slong to xtd::ulong.
static char to_char(wchar value)
Convert char32 to char.
static char16 to_char16(sbyte value)
Convert sbyte to char16.
static slong to_llong(uint16 value) noexcept
Convert uint16 to slong.
static xtd::ulong to_ullong(slong value)
Convert slong to xtd::ulong.
static uint16 to_uint16(uint64 value)
Convert uint64 to uint16.
static float to_single(int16 value) noexcept
Convert int16 to single.
static decimal to_decimal(decimal value) noexcept
Convert decimal to decimal.
static char32 to_char32(char value) noexcept
Convert char to char32.
static double to_double(const xtd::string &value)
Convert string to double.
static wchar to_wchar(float value)
Convert float to wchar.
static int64 to_int64(uint32 value) noexcept
Convert uint32 to int64.
static char32 to_char32(wchar value) noexcept
Convert char32 to char32.
static char8 to_char8(slong value)
Convert slong to char8.
static uint64 to_uint64(const xtd::string &value)
Convert string to uint64.
static int32 to_int32(int16 value) noexcept
Convert int16 to int32.
static slong to_llong(float value) noexcept
Convert float to slong.
static uint64 to_uint64(const xtd::string &value, xtd::byte from_base)
Convert string to uint64.
static uint64 to_uint64(sbyte value)
Convert sbyte to uint64.
static double to_double(int32 value) noexcept
Convert int32 to double.
static char32 to_char32(type_t value) noexcept
Convert type_t to char32.
Definition convert.h:1714
static std::any to_any(char8 value)
Convert char8 to std::any.
static xtd::ulong to_ullong(uint32 value) noexcept
Convert uint32 to xtd::ulong.
static string to_string(char32 value) noexcept
Convert char32 to string.
static uint32 to_uint32(uint32 value) noexcept
Convert uint32 to uint32.
static string to_string(uint32 value) noexcept
Convert uint32 to string.
static int32 to_int32(wchar value) noexcept
Convert char32 to int32.
static slong to_llong(int16 value) noexcept
Convert int16 to slong.
static char8 to_char8(const xtd::string &value)
Convert string to char8.
static string to_ustring(uint32 value, xtd::byte from_base)
Convert string to string.
static string to_ustring(uint16 value) noexcept
Convert uint16 to string.
static int32 to_int32(xtd::byte value) noexcept
Convert xtd::byte to int32.
static slong to_llong(int32 value) noexcept
Convert int32 to slong.
static sbyte to_sbyte(uint32 value)
Convert uint32 to sbyte.
static int16 to_int16(char8 value) noexcept
Convert char8 to int16.
static string to_string(decimal value)
Convert decimal to string.
static xtd::byte to_byte(float value)
Convert float to byte.
static xtd::ulong to_ullong(float value)
Convert float to xtd::ulong.
static char16 to_char16(uint64 value)
Convert uint64 to char16.
static char to_char(int16 value)
Convert int16 to char.
static slong to_llong(wchar value) noexcept
Convert char32 to slong.
static uint16 to_uint16(std::any value)
Convert std::any to uint16.
static string to_string(double value)
Convert double to string.
static int32 to_int32(uint32 value)
Convert uint32 to int32.
static string to_ustring(slong value)
Convert slong to string.
static int32 to_int32(type_t value) noexcept
Convert type_t to int32.
Definition convert.h:3139
static char8 to_char8(char16 value)
Convert char16 to char8.
static int16 to_int16(slong value)
Convert slong to int16.
static char8 to_char8(wchar value)
Convert char32 to char8.
static xtd::ulong to_ullong(const xtd::string &value, xtd::byte from_base)
Convert string to xtd::ulong.
static string to_ustring(int32 value)
Convert int32 to string.
static char to_char(bool value)
Convert bool to char.
static int16 to_int16(xtd::byte value) noexcept
Convert xtd::byte to int16.
static char32 to_char32(std::any value)
Convert std::any to char32.
static std::any to_any(char value) noexcept
Convert char to std::any.
static double to_double(uint16 value) noexcept
Convert uint16 to double.
static int16 to_int16(float value)
Convert float to int16.
static int64 to_int64(wchar value) noexcept
Convert char32 to int64.
static char16 to_char16(int64 value)
Convert int64 to char16.
static int64 to_int64(int32 value) noexcept
Convert int32 to int64.
static std::any to_any(sbyte value) noexcept
Convert sbyte to std::any.
static int32 to_int32(char value) noexcept
Convert char to int32.
static uint32 to_uint32(char8 value) noexcept
Convert char8 to uint32.
static char8 to_char8(double value)
Convert double to char8.
static int16 to_int16(bool value) noexcept
Convert bool to int16.
static string to_ustring(uint64 value, xtd::byte from_base)
Convert string to string.
static string to_string(std::any value)
Convert std::any to string.
static xtd::ulong to_ullong(char value) noexcept
Convert char to xtd::ulong.
static bool to_boolean(type_t value) noexcept
Convert type_t to bool.
Definition convert.h:499
static decimal to_decimal(int16 value) noexcept
Convert int16 to decimal.
static char8 to_char8(sbyte value)
Convert sbyte to char8.
static bool to_boolean(sbyte value) noexcept
Convert sbyte to bool.
static char8 to_char8(int32 value)
Convert int32 to char8.
static xtd::ulong to_ullong(int16 value)
Convert int16 to xtd::ulong.
static int64 to_int64(char value) noexcept
Convert char to int64.
static decimal to_decimal(std::any value)
Convert std::any to decimal.
static string to_ustring(int32 value, xtd::byte from_base)
Convert string to string.
static string to_ustring(float value)
Convert float to string.
static int16 to_int16(std::any value)
Convert std::any to int16.
static string to_ustring(const xtd::string &value)
Convert string to string.
static char16 to_char16(slong value)
Convert slong to char16.
static int16 to_int16(uint64 value)
Convert uint64 to int16.
static char16 to_char16(char32 value)
Convert char32 to char16.
static double to_double(bool value) noexcept
Convert bool to double.
static wchar to_wchar(char16 value) noexcept
Convert char16 to wchar.
static int16 to_int16(const xtd::string &value)
Convert string to int16.
static std::any to_any(char16 value) noexcept
Convert char16 to std::any.
static double to_double(uint64 value) noexcept
Convert uint64 to double.
static int32 to_int32(int64 value)
Convert int64 to int32.
static wchar to_wchar(sbyte value)
Convert sbyte to wchar.
static uint32 to_uint32(uint64 value)
Convert uint64 to uint32.
static xtd::byte to_byte(char16 value)
Convert char16 to byte.
static char32 to_char32(double value)
Convert double to char32.
static char to_char(sbyte value)
Convert sbyte to char.
static int32 to_int32(double value)
Convert double to int32.
static sbyte to_sbyte(const xtd::string &value, xtd::byte from_base)
Convert string to sbyte.
static char16 to_char16(std::any value)
Convert std::any to char16.
static slong to_llong(std::any value)
Convert std::any to slong.
static char32 to_char32(char16 value) noexcept
Convert char16 to char32.
static xtd::ulong to_ullong(double value)
Convert double to xtd::ulong.
static float to_single(char8 value) noexcept
Convert char8 to single.
static int32 to_int32(sbyte value) noexcept
Convert sbyte to int32.
static xtd::byte to_byte(uint16 value)
Convert uint16 to byte.
static xtd::ulong to_ullong(uint64 value) noexcept
Convert uint64 to xtd::ulong.
static float to_single(int32 value) noexcept
Convert int32 to single.
static wchar to_wchar(int64 value)
Convert int64 to wchar.
static xtd::ulong to_ullong(xtd::byte value) noexcept
Convert xtd::byte to xtd::ulong.
static sbyte to_sbyte(int64 value)
Convert int64 to sbyte.
static string to_string(sbyte value, xtd::byte from_base)
Convert string to string.
static double to_double(char32 value) noexcept
Convert char32 to double.
static int64 to_int64(char16 value) noexcept
Convert char16 to int64.
static uint32 to_uint32(const xtd::string &value)
Convert string to uint32.
static uint32 to_uint32(int32 value)
Convert int32 to uint32.
static wchar to_wchar(int32 value)
Convert int32 to wchar.
static xtd::ulong to_ullong(type_t value) noexcept
Convert type_t to xtd::ulong.
Definition convert.h:4876
static uint64 to_uint64(std::any value)
Convert std::any to uint64.
static xtd::byte to_byte(int32 value)
Convert int32 to byte.
static char16 to_char16(int32 value)
Convert int32 to char16.
static string to_string(slong value, xtd::byte from_base)
Convert string to string.
static char8 to_char8(char8 value) noexcept
Convert char8 to char8.
static char8 to_char8(uint32 value)
Convert uint32 to char8.
static sbyte to_sbyte(char value) noexcept
Convert char to sbyte.
static int64 to_int64(slong value) noexcept
Convert slong to int64.
static std::any to_any(bool value) noexcept
Convert bool to std::any.
static int32 to_int32(uint64 value)
Convert uint64 to int32.
static int16 to_int16(wchar value) noexcept
Convert char32 to int16.
static int64 to_int64(const xtd::string &value)
Convert string to int64.
static int32 to_int32(char16 value) noexcept
Convert char16 to int32.
static wchar to_wchar(const xtd::string &value)
Convert string to wchar.
static xtd::byte to_byte(std::any value)
Convert std::any to byte.
static uint32 to_uint32(char value) noexcept
Convert char to uint32.
static uint32 to_uint32(decimal value)
Convert decimal to uint32.
static string to_string(uint64 value, xtd::byte from_base)
Convert string to string.
static bool to_boolean(bool value) noexcept
Convert bool to bool.
static decimal to_decimal(int32 value) noexcept
Convert int32 to decimal.
static int64 to_int64(xtd::byte value) noexcept
Convert xtd::byte to int64.
static xtd::ulong to_ullong(int64 value)
Convert int64 to xtd::ulong.
static char8 to_char8(int16 value)
Convert int16 to char8.
static bool to_boolean(xtd::byte value) noexcept
Convert xtd::byte to bool.
static char16 to_char16(float value)
Convert float to char16.
static uint64 to_uint64(uint64 value) noexcept
Convert uint64 to uint64.
static decimal to_decimal(uint32 value) noexcept
Convert uint32 to decimal.
static decimal to_decimal(xtd::ulong value) noexcept
Convert slong to decimal.
static xtd::byte to_byte(sbyte value)
Convert sbyte to byte.
static char16 to_char16(char16 value) noexcept
Convert char16 to char16.
static xtd::byte to_byte(slong value)
Convert slong to byte.
static decimal to_decimal(type_t value) noexcept
Convert type_t to decimal.
Definition convert.h:2183
static char16 to_char16(decimal value)
Convert decimal to char16.
static wchar to_wchar(uint16 value) noexcept
Convert uint16 to wchar.
static int16 to_int16(int32 value)
Convert int32 to int16.
static uint64 to_uint64(int32 value)
Convert int32 to uint64.
static string to_ustring(bool value) noexcept
Convert bool to string.
static uint16 to_uint16(const xtd::string &value, xtd::byte from_base)
Convert string to uint16.
static int16 to_int16(uint32 value)
Convert uint32 to int16.
static string to_string(slong value)
Convert slong to string.
static int64 to_int64(char8 value) noexcept
Convert char8 to int64.
static uint64 to_uint64(type_t value) noexcept
Convert type_t to uint64.
Definition convert.h:4628
static uint16 to_uint16(type_t value) noexcept
Convert type_t to uint16.
Definition convert.h:4130
static char to_char(float value)
Convert float to char.
static wchar to_wchar(char value) noexcept
Convert char to wchar.
static uint16 to_uint16(int64 value)
Convert int64 to uint16.
static double to_double(char value) noexcept
Convert char to double.
static string to_string(uint64 value) noexcept
Convert uint64 to string.
static int64 to_int64(int16 value) noexcept
Convert int16 to int64.
static uint16 to_uint16(double value)
Convert double to uint16.
static char32 to_char32(uint32 value) noexcept
Convert uint32 to char32.
static sbyte to_sbyte(uint16 value)
Convert uint16 to sbyte.
static char to_char(xtd::byte value) noexcept
Convert xtd::byte to char.
static bool to_boolean(xtd::ulong value) noexcept
Convert slong to bool.
static std::any to_any(const xtd::string &value) noexcept
Convert string to std::any.
static xtd::byte to_byte(type_t value) noexcept
Convert type_t to byte.
Definition convert.h:754
static int64 to_int64(int64 value) noexcept
Convert int64 to int64.
static uint16 to_uint16(xtd::ulong value)
Convert slong to uint16.
static uint32 to_uint32(int64 value)
Convert int64 to uint32.
static string to_string(wchar value) noexcept
Convert char32 to string.
static uint16 to_uint16(slong value)
Convert slong to uint16.
static char8 to_char8(uint64 value)
Convert uint64 to char8.
static uint64 to_uint64(char value) noexcept
Convert char to uint64.
static float to_single(xtd::ulong value) noexcept
Convert slong to single.
static double to_double(wchar value) noexcept
Convert char32 to double.
static decimal to_decimal(sbyte value) noexcept
Convert sbyte to decimal.
static std::any to_any(int32 value) noexcept
Convert int32 to std::any.
static std::any to_any(decimal value) noexcept
Convert decimal to std::any.
static float to_single(uint16 value) noexcept
Convert uint16 to single.
static bool to_boolean(double value) noexcept
Convert double to bool.
static string to_string(const xtd::string &value)
Convert string to string.
static sbyte to_sbyte(xtd::byte value) noexcept
Convert xtd::byte to sbyte.
static char to_char(xtd::ulong value)
Convert slong to char.
static double to_double(xtd::ulong value) noexcept
Convert slong to double.
static xtd::ulong to_ullong(uint16 value) noexcept
Convert uint16 to xtd::ulong.
static float to_single(char16 value) noexcept
Convert char16 to single.
static int16 to_int16(char16 value) noexcept
Convert char16 to int16.
static uint16 to_uint16(char32 value)
Convert char32 to uint16.
static decimal to_decimal(float value) noexcept
Convert float to decimal.
static uint64 to_uint64(wchar value) noexcept
Convert char32 to uint64.
static char to_char(char32 value)
Convert char32 to char.
static float to_single(decimal value) noexcept
Convert decimal to single.
static bool to_boolean(int32 value) noexcept
Convert int32 to bool.
static int64 to_int64(double value) noexcept
Convert double to int64.
static sbyte to_sbyte(char32 value)
Convert char32 to sbyte.
static uint64 to_uint64(int16 value)
Convert int16 to uint64.
static sbyte to_sbyte(float value)
Convert float to sbyte.
static int32 to_int32(int32 value) noexcept
Convert int32 to int32.
static xtd::ulong to_ullong(sbyte value)
Convert sbyte to xtd::ulong.
static xtd::byte to_byte(xtd::byte value) noexcept
Convert xtd::byte to byte.
static uint32 to_uint32(std::any value)
Convert std::any to uint32.
static bool to_boolean(uint32 value) noexcept
Convert uint32 to bool.
static slong to_llong(bool value) noexcept
Convert bool to slong.
static char to_char(int64 value)
Convert int64 to char.
static uint64 to_uint64(double value)
Convert double to uint64.
static bool to_boolean(float value) noexcept
Convert float to bool.
static char16 to_char16(wchar value) noexcept
Convert char32 to char16.
static char32 to_char32(char8 value) noexcept
Convert char8 to char32.
static int16 to_int16(decimal value)
Convert decimal to int16.
static string to_ustring(xtd::ulong value, xtd::byte from_base)
Convert string to string.
static std::any to_any(float value) noexcept
Convert float to std::any.
static string to_ustring(xtd::byte value, xtd::byte from_base)
Convert string to string.
static sbyte to_sbyte(xtd::ulong value)
Convert slong to sbyte.
static wchar to_wchar(wchar value) noexcept
Convert char32 to wchar.
static uint64 to_uint64(char8 value) noexcept
Convert char8 to uint64.
static string to_ustring(char8 value) noexcept
Convert char8 to string.
static string to_string(int64 value)
Convert int64 to string.
static char8 to_char8(type_t value) noexcept
Convert type_t to char8.
Definition convert.h:1235
static decimal to_decimal(uint16 value) noexcept
Convert uint16 to decimal.
static int64 to_int64(decimal value) noexcept
Convert decimal to int64.
static slong to_llong(type_t value) noexcept
Convert type_t to slong.
Definition convert.h:3623
static decimal to_decimal(char16 value) noexcept
Convert char16 to decimal.
static char to_char(std::any value)
Convert std::any to char.
static uint32 to_uint32(xtd::ulong value)
Convert slong to uint32.
static int32 to_int32(const xtd::string &value)
Convert string to int32.
static int64 to_int64(const xtd::string &value, xtd::byte from_base)
Convert string to int64.
static xtd::byte to_byte(uint32 value)
Convert uint32 to byte.
static uint16 to_uint16(xtd::byte value) noexcept
Convert xtd::byte to uint16.
static char8 to_char8(int64 value)
Convert int64 to char8.
static char32 to_char32(int16 value)
Convert int16 to char32.
static xtd::ulong to_ullong(int32 value)
Convert int32 to xtd::ulong.
static string to_string(char16 value) noexcept
Convert char16 to string.
static string to_string(uint16 value, xtd::byte from_base)
Convert string to string.
static uint16 to_uint16(char8 value) noexcept
Convert char8 to uint16.
static xtd::ulong to_ullong(char8 value) noexcept
Convert char8 to xtd::ulong.
static decimal to_decimal(uint64 value) noexcept
Convert uint64 to decimal.
static int32 to_int32(char32 value) noexcept
Convert char32 to int32.
static std::any to_any(type_t value)
Convert type_t to bool.
Definition convert.h:260
static bool to_boolean(uint16 value) noexcept
Convert uint16 to bool.
static uint16 to_uint16(uint32 value)
Convert uint32 to uint16.
static bool to_boolean(char16 value)
Convert char16 to bool.
static uint16 to_uint16(float value)
Convert float to uint16.
static char32 to_char32(int64 value)
Convert int64 to char32.
static string to_ustring(char value) noexcept
Convert char to string.
static int16 to_int16(uint16 value)
Convert uint16 to int16.
static int16 to_int16(sbyte value) noexcept
Convert sbyte to int16.
static sbyte to_sbyte(std::any value)
Convert std::any to sbyte.
static char to_char(double value)
Convert double to char.
static uint64 to_uint64(float value)
Convert float to uint64.
static uint16 to_uint16(uint16 value) noexcept
Convert uint16 to uint16.
static uint32 to_uint32(int16 value)
Convert int16 to uint32.
static uint64 to_uint64(slong value)
Convert slong to uint64.
static slong to_llong(decimal value) noexcept
Convert decimal to slong.
static float to_single(float value) noexcept
Convert float to single.
static uint32 to_uint32(xtd::byte value) noexcept
Convert xtd::byte to uint32.
static char to_char(int32 value)
Convert int32 to char.
static string to_ustring(sbyte value, xtd::byte from_base)
Convert string to string.
static int32 to_int32(decimal value)
Convert decimal to int32.
static float to_single(type_t value) noexcept
Convert type_t to single.
Definition convert.h:2641
static char32 to_char32(bool value)
Convert bool to char32.
static int64 to_int64(xtd::ulong value)
Convert slong to int64.
static string to_ustring(type_t value) noexcept
Convert type_t to string.
Definition convert.h:5570
static sbyte to_sbyte(slong value)
Convert slong to sbyte.
static char16 to_char16(double value)
Convert double to char16.
static sbyte to_sbyte(type_t value) noexcept
Convert type_t to sbyte.
Definition convert.h:3878
static xtd::byte to_byte(char8 value) noexcept
Convert char8 to byte.
static uint64 to_uint64(uint16 value) noexcept
Convert uint16 to uint64.
static xtd::ulong to_ullong(wchar value) noexcept
Convert char32 to xtd::ulong.
static wchar to_wchar(type_t value) noexcept
Convert type_t to wchar.
Definition convert.h:1954
static char8 to_char8(decimal value)
Convert decimal to char8.
static decimal to_decimal(int64 value) noexcept
Convert int64 to decimal.
static string to_ustring(slong value, xtd::byte from_base)
Convert string to string.
static char32 to_char32(slong value)
Convert slong to char32.
static string to_ustring(char16 value) noexcept
Convert char16 to string.
static char to_char(type_t value) noexcept
Convert type_t to char.
Definition convert.h:997
static sbyte to_sbyte(bool value) noexcept
Convert bool to sbyte.
static sbyte to_sbyte(sbyte value)
Convert sbyte to sbyte.
static std::any to_any(uint16 value) noexcept
Convert uint16 to std::any.
static string to_ustring(xtd::byte value) noexcept
Convert xtd::byte to string.
static string to_string(sbyte value)
Convert sbyte to string.
static xtd::ulong to_ullong(const xtd::string &value)
Convert string to xtd::ulong.
static int32 to_int32(bool value) noexcept
Convert bool to int32.
static slong to_llong(const xtd::string &value)
Convert string to slong.
static uint16 to_uint16(const xtd::string &value)
Convert string to uint16.
static decimal to_decimal(char value) noexcept
Convert char to decimal.
static char16 to_char16(bool value)
Convert bool to char16.
static char16 to_char16(int16 value)
Convert int16 to char16.
static sbyte to_sbyte(decimal value)
Convert decimal to sbyte.
static char to_char(const xtd::string &value)
Convert string to char.
static slong to_llong(int64 value) noexcept
Convert int64 to slong.
static uint16 to_uint16(int16 value)
Convert int16 to uint16.
static int64 to_int64(type_t value) noexcept
Convert type_t to int64.
Definition convert.h:3381
static char8 to_char8(uint16 value)
Convert uint16 to char8.
static std::any to_any(double value) noexcept
Convert double to std::any.
static int16 to_int16(double value)
Convert double to int16.
static char8 to_char8(xtd::byte value) noexcept
Convert xtd::byte to char8.
static string to_string(xtd::byte value, xtd::byte from_base)
Convert string to string.
static float to_single(wchar value) noexcept
Convert char32 to single.
static double to_double(type_t value) noexcept
Convert type_t to double.
Definition convert.h:2412
static string to_string(int32 value, xtd::byte from_base)
Convert string to string.
static xtd::byte to_byte(decimal value)
Convert decimal to byte.
static string to_string(xtd::ulong value, xtd::byte from_base)
Convert string to string.
static string to_ustring(double value)
Convert double to string.
static int64 to_int64(sbyte value) noexcept
Convert sbyte to int64.
static char32 to_char32(char32 value) noexcept
Convert char32 to char32.
static char to_char(char8 value) noexcept
Convert char8 to char.
static decimal to_decimal(const xtd::string &value)
Convert string to decimal.
static uint16 to_uint16(decimal value)
Convert decimal to uint16.
static slong to_llong(char8 value) noexcept
Convert char8 to slong.
static double to_double(decimal value) noexcept
Convert decimal to double.
static decimal to_decimal(slong value) noexcept
Convert slong to decimal.
static string to_string(int16 value)
Convert int16 to string.
static uint64 to_uint64(bool value) noexcept
Convert bool to uint64.
static slong to_llong(double value) noexcept
Convert double to slong.
static double to_double(int16 value) noexcept
Convert int16 to double.
static string to_string(int32 value)
Convert int32 to string.
static sbyte to_sbyte(wchar value)
Convert char32 to sbyte.
static xtd::byte to_byte(wchar value)
Convert char32 to byte.
static string to_string(type_t value) noexcept
Convert type_t to string.
Definition convert.h:5223
static xtd::ulong to_ullong(decimal value)
Convert decimal to xtd::ulong.
static bool to_boolean(int64 value) noexcept
Convert int64 to bool.
static double to_double(float value) noexcept
Convert float to double.
The exception that is thrown for invalid casting or explicit conversion.
Definition invalid_cast_exception.h:19
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
int16_t int16
Represents a 16-bit signed integer.
Definition int16.h:23
char8_t char8
Represents a 8-bit unicode character.
Definition char8.h:27
wchar_t wchar
Represents a wide character.
Definition wchar.h:24
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
long double decimal
Represents a decimal-precision floating-point number.
Definition decimal.h:23
int64_t int64
Represents a 64-bit signed integer.
Definition int64.h:23
__ulong__ ulong
Represents a 32-bit or 64-bit unsigned integer.
Definition ulong.h:27
int8_t sbyte
Represents a 8-bit signed integer.
Definition sbyte.h:23
char16_t char16
Represents a 16-bit unicode character.
Definition char16.h:26
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.h:23
char32_t char32
Represents a 32-bit unicode character.
Definition char32.h:26
uint64_t uint64
Represents a 64-bit unsigned integer.
Definition uint64.h:23
uint8_t byte
Represents a 8-bit unsigned integer.
Definition byte.h:23
uint16_t uint16
Represents a 16-bit unsigned integer.
Definition uint16.h:23
__slong__ slong
Represents a 32-bit or 64-bit signed integer.
Definition slong.h:27
Contains xtd::invalid_cast_exception exception.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::overflow_exception exception.
Contains xtd::static_object class.
Contains xtd::string alias.
Contains xtd fundamental types.