xref: /aosp_15_r20/external/cronet/third_party/libc++/src/modules/std/streambuf.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#include <__config>
12#ifndef _LIBCPP_HAS_NO_LOCALIZATION
13#  include <streambuf>
14#endif
15
16export module std:streambuf;
17#ifndef _LIBCPP_HAS_NO_LOCALIZATION
18export namespace std {
19  using std::basic_streambuf;
20  using std::streambuf;
21#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
22  using std::wstreambuf;
23#  endif
24} // namespace std
25#endif // _LIBCPP_HAS_NO_LOCALIZATION
26