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 using std::u8string_view;
31 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
32 using std::wstring_view;
35 // [string.view.hash], hash support
38 inline namespace literals {
39 inline namespace string_view_literals {
40 // [string.view.literals], suffix for basic_string_view literals
41 using std::literals::string_view_literals::operator""sv;
42 } // namespace string_view_literals
43 } // namespace literals