xref: /freebsd/contrib/llvm-project/libcxx/modules/std/iosfwd.inc (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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  using std::streampos;
12#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
13  using std::wstreampos;
14#endif
15  using std::u16streampos;
16  using std::u32streampos;
17#ifndef _LIBCPP_HAS_NO_CHAR8_T
18  using std::u8streampos;
19#endif
20
21#ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
22  using std::basic_osyncstream;
23  using std::basic_syncbuf;
24#endif
25
26  using std::istreambuf_iterator;
27  using std::ostreambuf_iterator;
28
29#ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
30  using std::osyncstream;
31  using std::syncbuf;
32
33#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
34  using std::wosyncstream;
35  using std::wsyncbuf;
36#  endif
37#endif // _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
38
39  using std::fpos;
40} // namespace std
41