diff options
author | mikhnenko <[email protected]> | 2023-10-16 00:07:25 +0300 |
---|---|---|
committer | mikhnenko <[email protected]> | 2023-10-16 00:31:43 +0300 |
commit | 6851965da19965a2680cfea6815b486fb14e739d (patch) | |
tree | b0ca5fe8b2ae7dc1407f134786ee8d2d67065520 /contrib/libs/cxxsupp/libcxx/include/string_view | |
parent | 70f009564b5c4b41a3e14d7d1efd6aef5880034c (diff) |
Upd libc++ to 18 May 4ac0589122830fc6d90e0ea091300c0b979a42dc
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/string_view')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/string_view | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/string_view b/contrib/libs/cxxsupp/libcxx/include/string_view index 6864d295324..28fbe1a5f77 100644 --- a/contrib/libs/cxxsupp/libcxx/include/string_view +++ b/contrib/libs/cxxsupp/libcxx/include/string_view @@ -199,6 +199,7 @@ namespace std { #include <__algorithm/min.h> #include <__assert> // all public C++ headers provide the assertion handler #include <__config> +#include <__fwd/string_view.h> #include <__ranges/concepts.h> #include <__ranges/data.h> #include <__ranges/enable_borrowed_range.h> @@ -228,19 +229,6 @@ _LIBCPP_PUSH_MACROS _LIBCPP_BEGIN_NAMESPACE_STD -template<class _CharT, class _Traits = char_traits<_CharT> > - class _LIBCPP_TEMPLATE_VIS basic_string_view; - -typedef basic_string_view<char> string_view; -#ifndef _LIBCPP_HAS_NO_CHAR8_T -typedef basic_string_view<char8_t> u8string_view; -#endif -typedef basic_string_view<char16_t> u16string_view; -typedef basic_string_view<char32_t> u32string_view; -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS -typedef basic_string_view<wchar_t> wstring_view; -#endif - // TODO: This is a workaround for some vendors to carry a downstream diff to accept `nullptr` in // string_view constructors. This can be refactored when this exact form isn't needed anymore. template <class _Traits> |