brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 4de1c8b Raw
47 lines · plain
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11  // [string.view.template], class template basic_string_view12  using std::basic_string_view;13 14  namespace ranges {15    using std::ranges::enable_borrowed_range;16    using std::ranges::enable_view;17  } // namespace ranges18 19  // [string.view.comparison], non-member comparison functions20  using std::operator==;21  using std::operator<=>;22 23  // [string.view.io], inserters and extractors24  using std::operator<<;25 26  // basic_string_view typedef-names27  using std::string_view;28  using std::u16string_view;29  using std::u32string_view;30#if _LIBCPP_HAS_CHAR8_T31  using std::u8string_view;32#endif33#if _LIBCPP_HAS_WIDE_CHARACTERS34  using std::wstring_view;35#endif36 37  // [string.view.hash], hash support38  using std::hash;39 40  inline namespace literals {41    inline namespace string_view_literals {42      // [string.view.literals], suffix for basic_string_view literals43      using std::literals::string_view_literals::operator""sv;44    } // namespace string_view_literals45  }   // namespace literals46} // namespace std47