xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/spanstream.cppm (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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-exception
7//
8//===----------------------------------------------------------------------===//
9
10module;
11#if __has_include(<spanstream>)
12#  error "include this header unconditionally and uncomment the exported symbols"
13#  include <spanstream>
14#endif
15
16export module std:spanstream;
17export namespace std {
18#if 0
19  using std::basic_spanbuf;
20
21  using std::swap;
22
23  using std::spanbuf;
24#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
25  using std::wspanbuf;
26#  endif
27
28  using std::basic_ispanstream;
29
30  using std::ispanstream;
31#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
32  using std::wispanstream;
33#  endif
34
35  using std::basic_ospanstream;
36
37  using std::ospanstream;
38#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
39  using std::wospanstream;
40#  endif
41
42  using std::basic_spanstream;
43
44  using std::spanstream;
45#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
46  using std::wspanstream;
47#  endif
48#endif
49} // namespace std
50