14#define __XTD_STD_INTERNAL__
16#undef __XTD_STD_INTERNAL__
53 static std::any
to_any(std::any value)
noexcept;
62 static std::any
to_any(
bool value)
noexcept;
80 static std::any
to_any(
char value)
noexcept;
81#if defined(__xtd__cpp_lib_char8_t)
137 static std::any
to_any(
double value)
noexcept;
149 static std::any
to_any(
float value)
noexcept;
241 static std::any
to_any(
const std::string& value)
noexcept;
242#if defined(__xtd__cpp_lib_char8_t)
243 static std::any
to_any(
const std::u8string& value)
noexcept;
245 static std::any
to_any(
const std::u16string& value)
noexcept;
246 static std::any
to_any(
const std::u32string& value)
noexcept;
247 static std::any
to_any(
const std::wstring& value)
noexcept;
248 static std::any
to_any(
const char* value)
noexcept;
249 static std::any
to_any(
char* value)
noexcept;
250#if defined(__xtd__cpp_lib_char8_t)
258 static std::any
to_any(
const wchar* value)
noexcept;
269 template<
class type_t>
272 return std::any(value);
325#if defined(__xtd__cpp_lib_char8_t)
489 static bool to_boolean(
const std::string& value);
490#if defined(__xtd__cpp_lib_char8_t)
491 static bool to_boolean(
const std::u8string& value);
493 static bool to_boolean(
const std::u16string& value);
494 static bool to_boolean(
const std::u32string& value);
495 static bool to_boolean(
const std::wstring& value);
498#if defined(__xtd__cpp_lib_char8_t)
517 template<
class type_t>
519 return static_cast<bool>(value);
558#if defined(__xtd__cpp_lib_char8_t)
745#if defined(__xtd__cpp_lib_char8_t)
753#if defined(__xtd__cpp_lib_char8_t)
772 template<
class type_t>
813#if defined(__xtd__cpp_lib_char8_t)
987 static char to_char(
const std::string& value);
988#if defined(__xtd__cpp_lib_char8_t)
989 static char to_char(
const std::u8string& value);
991 static char to_char(
const std::u16string& value);
992 static char to_char(
const std::u32string& value);
993 static char to_char(
const std::wstring& value);
994 static char to_char(
const char* value);
995 static char to_char(
char* value);
996#if defined(__xtd__cpp_lib_char8_t)
1015 template<
class type_t>
1017 return static_cast<char>(value);
1020#if defined(__xtd__cpp_lib_char8_t)
1253 template<
class type_t>
1255 return static_cast<char8>(value);
1295#if defined(__xtd__cpp_lib_char8_t)
1467#if defined(__xtd__cpp_lib_char8_t)
1475#if defined(__xtd__cpp_lib_char8_t)
1494 template<
class type_t>
1496 return static_cast<char16>(value);
1535#if defined(__xtd__cpp_lib_char8_t)
1705#if defined(__xtd__cpp_lib_char8_t)
1713#if defined(__xtd__cpp_lib_char8_t)
1732 template<
class type_t>
1734 return static_cast<char32>(value);
1773#if defined(__xtd__cpp_lib_char8_t)
1945#if defined(__xtd__cpp_lib_char8_t)
1953#if defined(__xtd__cpp_lib_char8_t)
1972 template<
class type_t>
1974 return static_cast<wchar>(value);
2013#if defined(__xtd__cpp_lib_char8_t)
2174#if defined(__xtd__cpp_lib_char8_t)
2182#if defined(__xtd__cpp_lib_char8_t)
2201 template<
class type_t>
2203 return static_cast<decimal>(value);
2242#if defined(__xtd__cpp_lib_char8_t)
2402 static double to_double(
const std::string& value);
2403#if defined(__xtd__cpp_lib_char8_t)
2404 static double to_double(
const std::u8string& value);
2406 static double to_double(
const std::u16string& value);
2407 static double to_double(
const std::u32string& value);
2408 static double to_double(
const std::wstring& value);
2409 static double to_double(
const char* value);
2411#if defined(__xtd__cpp_lib_char8_t)
2430 template<
class type_t>
2432 return static_cast<double>(value);
2471#if defined(__xtd__cpp_lib_char8_t)
2631 static float to_single(
const std::string& value);
2632#if defined(__xtd__cpp_lib_char8_t)
2633 static float to_single(
const std::u8string& value);
2635 static float to_single(
const std::u16string& value);
2636 static float to_single(
const std::u32string& value);
2637 static float to_single(
const std::wstring& value);
2638 static float to_single(
const char* value);
2640#if defined(__xtd__cpp_lib_char8_t)
2659 template<
class type_t>
2661 return static_cast<float>(value);
2700#if defined(__xtd__cpp_lib_char8_t)
2883#if defined(__xtd__cpp_lib_char8_t)
2891#if defined(__xtd__cpp_lib_char8_t)
2910 template<
class type_t>
2912 return static_cast<int16>(value);
2951#if defined(__xtd__cpp_lib_char8_t)
3130#if defined(__xtd__cpp_lib_char8_t)
3138#if defined(__xtd__cpp_lib_char8_t)
3157 template<
class type_t>
3159 return static_cast<int32>(value);
3198#if defined(__xtd__cpp_lib_char8_t)
3372#if defined(__xtd__cpp_lib_char8_t)
3380#if defined(__xtd__cpp_lib_char8_t)
3399 template<
class type_t>
3401 return static_cast<int64>(value);
3440#if defined(__xtd__cpp_lib_char8_t)
3614#if defined(__xtd__cpp_lib_char8_t)
3622#if defined(__xtd__cpp_lib_char8_t)
3641 template<
class type_t>
3643 return static_cast<slong>(value);
3682#if defined(__xtd__cpp_lib_char8_t)
3869#if defined(__xtd__cpp_lib_char8_t)
3877#if defined(__xtd__cpp_lib_char8_t)
3896 template<
class type_t>
3898 return static_cast<sbyte>(value);
3937#if defined(__xtd__cpp_lib_char8_t)
4121#if defined(__xtd__cpp_lib_char8_t)
4129#if defined(__xtd__cpp_lib_char8_t)
4148 template<
class type_t>
4150 return static_cast<uint16>(value);
4189#if defined(__xtd__cpp_lib_char8_t)
4371#if defined(__xtd__cpp_lib_char8_t)
4379#if defined(__xtd__cpp_lib_char8_t)
4398 template<
class type_t>
4400 return static_cast<uint32>(value);
4439#if defined(__xtd__cpp_lib_char8_t)
4619#if defined(__xtd__cpp_lib_char8_t)
4627#if defined(__xtd__cpp_lib_char8_t)
4646 template<
class type_t>
4648 return static_cast<uint64>(value);
4687#if defined(__xtd__cpp_lib_char8_t)
4867#if defined(__xtd__cpp_lib_char8_t)
4875#if defined(__xtd__cpp_lib_char8_t)
4894 template<
class type_t>
4946#if defined(__xtd__cpp_lib_char8_t)
5213 static string to_string(
const std::string& value);
5214#if defined(__xtd__cpp_lib_char8_t)
5215 static string to_string(
const std::u8string& value);
5217 static string to_string(
const std::u16string& value);
5218 static string to_string(
const std::u32string& value);
5219 static string to_string(
const std::wstring& value);
5220 static string to_string(
const char* value);
5222#if defined(__xtd__cpp_lib_char8_t)
5241 template<
class type_t>
5293#if defined(__xtd__cpp_lib_char8_t)
5560 static string to_ustring(
const std::string& value);
5561#if defined(__xtd__cpp_lib_char8_t)
5562 static string to_ustring(
const std::u8string& value);
5564 static string to_ustring(
const std::u16string& value);
5565 static string to_ustring(
const std::u32string& value);
5566 static string to_ustring(
const std::wstring& value);
5569#if defined(__xtd__cpp_lib_char8_t)
5588 template<
class type_t>
Contains __xtd_std_version definitions.
Contains std::any type and std::bad_any_cast exception.
Contains xtd::argument_exception exception.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:59
Represents text as a sequence of character units.
Definition basic_string.hpp:71
Represents API to convert base type code.
Definition convert.hpp:31
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.hpp:1495
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.hpp:4399
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 xtd::string to_base64_string(const xtd::array< xtd::byte > &in_array)
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded ...
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.hpp:2911
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 xtd::string to_base64_string(const xtd::read_only_span< xtd::byte > &bytes)
Converts a read only span of 8-bit unsigned integers to its equivalent string representation that is ...
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.hpp:1733
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.hpp:3158
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 xtd::array< xtd::byte > from_base64_string(const xtd::string &s)
Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit un...
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.hpp:518
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.hpp:4895
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.hpp:2202
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.hpp:4647
static uint16 to_uint16(type_t value) noexcept
Convert type_t to uint16.
Definition convert.hpp:4149
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.hpp:773
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.hpp:1254
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.hpp:3642
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.hpp:270
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.hpp:2660
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.hpp:5589
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.hpp:3897
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.hpp:1973
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.hpp:1016
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.hpp:3400
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.hpp:2431
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.hpp:5242
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.
static void throws(xtd::helpers::exception_case exception_case, const source_location &location=source_location::current())
Throws an exption with specified exception case.
Represents a non-owning view over a contiguous sequence of objects.
Definition read_only_span.hpp:52
@ invalid_cast
The cast is not valid.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
int16_t int16
Represents a 16-bit signed integer.
Definition int16.hpp:23
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:27
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
long double decimal
Represents a decimal-precision floating-point number.
Definition decimal.hpp:23
int64_t int64
Represents a 64-bit signed integer.
Definition int64.hpp:23
__ulong__ ulong
Represents a 32-bit or 64-bit unsigned integer.
Definition ulong.hpp:27
int8_t sbyte
Represents a 8-bit signed integer.
Definition sbyte.hpp:23
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.hpp:23
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:26
uint64_t uint64
Represents a 64-bit unsigned integer.
Definition uint64.hpp:23
uint8_t byte
Represents a 8-bit unsigned integer.
Definition byte.hpp:23
uint16_t uint16
Represents a 16-bit unsigned integer.
Definition uint16.hpp:23
__slong__ slong
Represents a 32-bit or 64-bit signed integer.
Definition slong.hpp:27
Contains xtd::invalid_cast_exception exception.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::overflow_exception exception.
Contains xtd::read_only_span class.
Contains xtd::static_object class.
Contains xtd::string alias.
Contains xtd fundamental types.