6#if !defined(__XTD_CORE_INTERNAL__)
7#error "Do not include this file: Internal use only"
11#define __XTD_STD_INTERNAL__
13#undef __XTD_STD_INTERNAL__
61 inline xtd::string as<xtd::string>(
const std::string& value) {
81 inline xtd::string as<xtd::string>(std::string& value) {
85#if defined(__xtd__cpp_lib_char8_t)
102 inline std::u8string as<std::u8string>(
const std::string& value) {
122 inline std::u8string as<std::u8string>(std::string& value) {
143 inline std::u16string as<std::u16string>(
const std::string& value) {
163 inline std::u16string as<std::u16string>(std::string& value) {
183 inline std::u32string as<std::u32string>(
const std::string& value) {
203 inline std::u32string as<std::u32string>(std::string& value) {
223 inline std::wstring as<std::wstring>(
const std::string& value) {
243 inline std::wstring as<std::wstring>(std::string& value) {
283 inline xtd::string as<xtd::string>(
const char* value) {
287#if defined(__xtd__cpp_lib_char8_t)
304 inline std::u8string as<std::u8string>(
const char* value) {
325 inline std::u16string as<std::u16string>(
const char* value) {
345 inline std::u32string as<std::u32string>(
const char* value) {
365 inline std::wstring as<std::wstring>(
const char* value) {
409#if defined(__xtd__cpp_lib_char8_t)
426 inline std::u8string as<std::u8string>(
char* value) {
447 inline std::u16string as<std::u16string>(
char* value) {
467 inline std::u32string as<std::u32string>(
char* value) {
487 inline std::wstring as<std::wstring>(
char* value) {
571#if defined(__xtd__cpp_lib_char8_t)
588 inline std::u8string as<std::u8string>(
const xtd::string& value) {
608 inline std::u8string as<std::u8string>(
xtd::string& value) {
629 inline std::u16string as<std::u16string>(
const xtd::string& value) {
649 inline std::u16string as<std::u16string>(
xtd::string& value) {
669 inline std::u32string as<std::u32string>(
const xtd::string& value) {
689 inline std::u32string as<std::u32string>(
xtd::string& value) {
709 inline std::wstring as<std::wstring>(
const xtd::string& value) {
729 inline std::wstring as<std::wstring>(
xtd::string& value) {
733#if defined(__xtd__cpp_lib_char8_t)
790 inline xtd::string as<xtd::string>(
const std::u8string& value) {
810 inline xtd::string as<xtd::string>(std::u8string& value) {
830 inline std::u8string as<std::u8string>(
const std::u8string& value) {
850 inline std::u8string as<std::u8string>(std::u8string& value) {
870 inline std::u16string as<std::u16string>(
const std::u8string& value) {
890 inline std::u16string as<std::u16string>(std::u8string& value) {
910 inline std::u32string as<std::u32string>(
const std::u8string& value) {
930 inline std::u32string as<std::u32string>(std::u8string& value) {
950 inline std::wstring as<std::wstring>(
const std::u8string& value) {
970 inline std::wstring as<std::wstring>(std::u8string& value) {
975#if defined(__xtd__cpp_lib_char8_t)
1032 inline std::u8string as<std::u8string>(
const char8* value) {
1052 inline std::u16string as<std::u16string>(
const char8* value) {
1072 inline std::u32string as<std::u32string>(
const char8* value) {
1092 inline std::wstring as<std::wstring>(
const char8* value) {
1152 inline std::u8string as<std::u8string>(
char8* value) {
1172 inline std::u16string as<std::u16string>(
char8* value) {
1192 inline std::u32string as<std::u32string>(
char8* value) {
1212 inline std::wstring as<std::wstring>(
char8* value) {
1273 inline xtd::string as<xtd::string>(
const std::u16string& value) {
1293 inline xtd::string as<xtd::string>(std::u16string& value) {
1297#if defined(__xtd__cpp_lib_char8_t)
1314 inline std::u8string as<std::u8string>(
const std::u16string& value) {
1334 inline std::u8string as<std::u8string>(std::u16string& value) {
1355 inline std::u16string as<std::u16string>(
const std::u16string& value) {
1375 inline std::u16string as<std::u16string>(std::u16string& value) {
1395 inline std::u32string as<std::u32string>(
const std::u16string& value) {
1415 inline std::u32string as<std::u32string>(std::u16string& value) {
1435 inline std::wstring as<std::wstring>(
const std::u16string& value) {
1455 inline std::wstring as<std::wstring>(std::u16string& value) {
1499#if defined(__xtd__cpp_lib_char8_t)
1516 inline std::u8string as<std::u8string>(
const char16* value) {
1537 inline std::u16string as<std::u16string>(
const char16* value) {
1557 inline std::u32string as<std::u32string>(
const char16* value) {
1577 inline std::wstring as<std::wstring>(
const char16* value) {
1621#if defined(__xtd__cpp_lib_char8_t)
1638 inline std::u8string as<std::u8string>(
char16* value) {
1659 inline std::u16string as<std::u16string>(
char16* value) {
1679 inline std::u32string as<std::u32string>(
char16* value) {
1699 inline std::wstring as<std::wstring>(
char16* value) {
1759 inline xtd::string as<xtd::string>(
const std::u32string& value) {
1779 inline xtd::string as<xtd::string>(std::u32string& value) {
1783#if defined(__xtd__cpp_lib_char8_t)
1800 inline std::u8string as<std::u8string>(
const std::u32string& value) {
1820 inline std::u8string as<std::u8string>(std::u32string& value) {
1841 inline std::u16string as<std::u16string>(
const std::u32string& value) {
1861 inline std::u16string as<std::u16string>(std::u32string& value) {
1881 inline std::u32string as<std::u32string>(
const std::u32string& value) {
1901 inline std::u32string as<std::u32string>(std::u32string& value) {
1921 inline std::wstring as<std::wstring>(
const std::u32string& value) {
1941 inline std::wstring as<std::wstring>(std::u32string& value) {
1985#if defined(__xtd__cpp_lib_char8_t)
2002 inline std::u8string as<std::u8string>(
const char32* value) {
2023 inline std::u16string as<std::u16string>(
const char32* value) {
2043 inline std::u32string as<std::u32string>(
const char32* value) {
2063 inline std::wstring as<std::wstring>(
const char32* value) {
2107#if defined(__xtd__cpp_lib_char8_t)
2124 inline std::u8string as<std::u8string>(
char32* value) {
2145 inline std::u16string as<std::u16string>(
char32* value) {
2165 inline std::u32string as<std::u32string>(
char32* value) {
2185 inline std::wstring as<std::wstring>(
char32* value) {
2245 inline xtd::string as<xtd::string>(
const std::wstring& value) {
2265 inline xtd::string as<xtd::string>(std::wstring& value) {
2269#if defined(__xtd__cpp_lib_char8_t)
2286 inline std::u8string as<std::u8string>(
const std::wstring& value) {
2306 inline std::u8string as<std::u8string>(std::wstring& value) {
2327 inline std::u16string as<std::u16string>(
const std::wstring& value) {
2347 inline std::u16string as<std::u16string>(std::wstring& value) {
2367 inline std::u32string as<std::u32string>(
const std::wstring& value) {
2387 inline std::u32string as<std::u32string>(std::wstring& value) {
2407 inline std::wstring as<std::wstring>(
const std::wstring& value) {
2427 inline std::wstring as<std::wstring>(std::wstring& value) {
2471#if defined(__xtd__cpp_lib_char8_t)
2488 inline std::u8string as<std::u8string>(
const wchar* value) {
2509 inline std::u16string as<std::u16string>(
const wchar* value) {
2529 inline std::u32string as<std::u32string>(
const wchar* value) {
2549 inline std::wstring as<std::wstring>(
const wchar* value) {
2593#if defined(__xtd__cpp_lib_char8_t)
2610 inline std::u8string as<std::u8string>(
wchar* value) {
2631 inline std::u16string as<std::u16string>(
wchar* value) {
2651 inline std::u32string as<std::u32string>(
wchar* value) {
2671 inline std::wstring as<std::wstring>(
wchar* value) {
Contains __xtd_std_version definitions.
Represents text as a sequence of character units.
Definition basic_string.hpp:79
static std::u32string to_u32string(const std::string &str) noexcept
Converts std::string to std::u32string.
static std::u8string to_u8string(const std::string &str) noexcept
Converts std::string to std::u8string.
static xtd::string to_ustring(const std::string &str) noexcept
Converts std::string to xtd::string.
static const std::string & to_string(const std::string &str) noexcept
Converts std::string to std::string.
static std::u16string to_u16string(const std::string &str) noexcept
Converts std::string to std::u16string.
static std::wstring to_wstring(const std::string &str) noexcept
Converts std::string to std::wstring.
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:27
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:26
std::string as< std::string >(const std::string &value)
Casts a type into another type.
Definition __as_std_string.hpp:33
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10