mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-04 03:32:27 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
17
third_party/libcxx/__fwd/string.h
vendored
17
third_party/libcxx/__fwd/string.h
vendored
|
@ -10,6 +10,7 @@
|
|||
#define _LIBCPP___FWD_STRING_H
|
||||
|
||||
#include <__config>
|
||||
#include <__fwd/memory.h>
|
||||
#include <__fwd/memory_resource.h>
|
||||
|
||||
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
|
||||
|
@ -38,9 +39,6 @@ template <>
|
|||
struct char_traits<wchar_t>;
|
||||
#endif
|
||||
|
||||
template <class _Tp>
|
||||
class _LIBCPP_TEMPLATE_VIS allocator;
|
||||
|
||||
template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >
|
||||
class _LIBCPP_TEMPLATE_VIS basic_string;
|
||||
|
||||
|
@ -61,21 +59,20 @@ using u32string = basic_string<char32_t>;
|
|||
|
||||
namespace pmr {
|
||||
template <class _CharT, class _Traits = char_traits<_CharT>>
|
||||
using basic_string = std::basic_string<_CharT, _Traits, polymorphic_allocator<_CharT>>;
|
||||
using basic_string _LIBCPP_AVAILABILITY_PMR = std::basic_string<_CharT, _Traits, polymorphic_allocator<_CharT>>;
|
||||
|
||||
using string = basic_string<char>;
|
||||
using string _LIBCPP_AVAILABILITY_PMR = basic_string<char>;
|
||||
|
||||
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
|
||||
using wstring = basic_string<wchar_t>;
|
||||
using wstring _LIBCPP_AVAILABILITY_PMR = basic_string<wchar_t>;
|
||||
# endif
|
||||
|
||||
# ifndef _LIBCPP_HAS_NO_CHAR8_T
|
||||
using u8string = basic_string<char8_t>;
|
||||
using u8string _LIBCPP_AVAILABILITY_PMR = basic_string<char8_t>;
|
||||
# endif
|
||||
|
||||
using u16string = basic_string<char16_t>;
|
||||
using u32string = basic_string<char32_t>;
|
||||
|
||||
using u16string _LIBCPP_AVAILABILITY_PMR = basic_string<char16_t>;
|
||||
using u32string _LIBCPP_AVAILABILITY_PMR = basic_string<char32_t>;
|
||||
} // namespace pmr
|
||||
|
||||
#endif // _LIBCPP_STD_VER >= 17
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue