xref: /freebsd/contrib/llvm-project/libcxx/modules/std/syncstream.inc (revision cb14a3fe5122c879eae1fb480ed7ce82a699ddb6)
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
10export namespace std {
11#if !defined(_LIBCPP_HAS_NO_LOCALIZATION) && !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM)
12  using std::basic_syncbuf;
13
14  // [syncstream.syncbuf.special], specialized algorithms
15  using std::swap;
16
17  using std::syncbuf;
18#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
19  using std::wsyncbuf;
20#  endif
21  using std::basic_osyncstream;
22
23  using std::osyncstream;
24#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
25  using std::wosyncstream;
26#  endif
27#endif // !defined(_LIBCPP_HAS_NO_LOCALIZATION) && !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM)
28} // namespace std
29