Add the initializes attribute inference (#117104)
[llvm-project.git] / libcxx / modules / std / iosfwd.inc
blob81bdddec8afef44390a7b52cd7ad7bd8edfc914f
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 //===----------------------------------------------------------------------===//
10 export namespace std {
11   using std::streampos;
12 #if _LIBCPP_HAS_WIDE_CHARACTERS
13   using std::wstreampos;
14 #endif
15   using std::u16streampos;
16   using std::u32streampos;
17 #if _LIBCPP_HAS_CHAR8_T
18   using std::u8streampos;
19 #endif
21 #ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
22   using std::basic_osyncstream;
23   using std::basic_syncbuf;
24 #endif
26   using std::istreambuf_iterator;
27   using std::ostreambuf_iterator;
29 #ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
30   using std::osyncstream;
31   using std::syncbuf;
33 #  if _LIBCPP_HAS_WIDE_CHARACTERS
34   using std::wosyncstream;
35   using std::wsyncbuf;
36 #  endif
37 #endif // _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
39   using std::fpos;
40 } // namespace std