2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
11 // [string.view.template], class template basic_string_view
12 using std::basic_string_view;
15 using std::ranges::enable_borrowed_range;
16 using std::ranges::enable_view;
19 // [string.view.comparison], non-member comparison functions
20 using std::operator==;
21 using std::operator<=>;
23 // [string.view.io], inserters and extractors
24 using std::operator<<;
26 // basic_string_view typedef-names
27 using std::string_view;
28 using std::u16string_view;
29 using std::u32string_view;
30 #ifndef _LIBCPP_HAS_NO_CHAR8_T
31 using std::u8string_view;
33 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
34 using std::wstring_view;
37 // [string.view.hash], hash support
40 inline namespace literals {
41 inline namespace string_view_literals {
42 // [string.view.literals], suffix for basic_string_view literals
43 using std::literals::string_view_literals::operator""sv;
44 } // namespace string_view_literals
45 } // namespace literals