Changeset View
Changeset View
Standalone View
Standalone View
include/string
Show First 20 Lines • Show All 515 Lines • ▼ Show 20 Lines | |||||
#include <__functional_base> | #include <__functional_base> | ||||
#include <version> | #include <version> | ||||
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS | #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS | ||||
#include <cstdint> | #include <cstdint> | ||||
#endif | #endif | ||||
#include <__debug> | #include <__debug> | ||||
#if _LIBCPP_STD_VER > 14 | |||||
#include <__memory_resource_base> | |||||
#endif | |||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) | ||||
#pragma GCC system_header | #pragma GCC system_header | ||||
#endif | #endif | ||||
_LIBCPP_PUSH_MACROS | _LIBCPP_PUSH_MACROS | ||||
#include <__undef_macros> | #include <__undef_macros> | ||||
▲ Show 20 Lines • Show All 1,982 Lines • ▼ Show 20 Lines | |||||
return basic_string<char32_t> (__str, __len); | return basic_string<char32_t> (__str, __len); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
#endif | #endif | ||||
_LIBCPP_END_NAMESPACE_STD | _LIBCPP_END_NAMESPACE_STD | ||||
#if _LIBCPP_STD_VER > 14 | |||||
_LIBCPP_BEGIN_NAMESPACE_STD | |||||
namespace pmr | |||||
{ | |||||
template<class _CharT, class _TraitsT = _VSTD::char_traits<_CharT>> | |||||
using basic_string = _VSTD::basic_string<_CharT, _TraitsT, polymorphic_allocator<_CharT>>; | |||||
using string = basic_string<char>; | |||||
using u16string = basic_string<char16_t>; | |||||
using u32string = basic_string<char32_t>; | |||||
using wstring = basic_string<wchar_t>; | |||||
} | |||||
_LIBCPP_END_NAMESPACE_STD | |||||
#endif | |||||
_LIBCPP_POP_MACROS | _LIBCPP_POP_MACROS | ||||
#endif // _LIBCPP_STRING | #endif // _LIBCPP_STRING | ||||
Context not available. |