xref: /freebsd/contrib/llvm-project/libcxx/modules/std/iosfwd.inc (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
15f757f3fSDimitry Andric// -*- C++ -*-
25f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
35f757f3fSDimitry Andric//
45f757f3fSDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
55f757f3fSDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
65f757f3fSDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
75f757f3fSDimitry Andric//
85f757f3fSDimitry Andric//===----------------------------------------------------------------------===//
95f757f3fSDimitry Andric
105f757f3fSDimitry Andricexport namespace std {
115f757f3fSDimitry Andric  using std::streampos;
125f757f3fSDimitry Andric#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
135f757f3fSDimitry Andric  using std::wstreampos;
145f757f3fSDimitry Andric#endif
155f757f3fSDimitry Andric  using std::u16streampos;
165f757f3fSDimitry Andric  using std::u32streampos;
17b3edf446SDimitry Andric#ifndef _LIBCPP_HAS_NO_CHAR8_T
185f757f3fSDimitry Andric  using std::u8streampos;
19b3edf446SDimitry Andric#endif
205f757f3fSDimitry Andric
21*0fca6ea1SDimitry Andric#ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
225f757f3fSDimitry Andric  using std::basic_osyncstream;
235f757f3fSDimitry Andric  using std::basic_syncbuf;
24*0fca6ea1SDimitry Andric#endif
255f757f3fSDimitry Andric
265f757f3fSDimitry Andric  using std::istreambuf_iterator;
275f757f3fSDimitry Andric  using std::ostreambuf_iterator;
285f757f3fSDimitry Andric
29*0fca6ea1SDimitry Andric#ifndef _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
305f757f3fSDimitry Andric  using std::osyncstream;
315f757f3fSDimitry Andric  using std::syncbuf;
325f757f3fSDimitry Andric
335f757f3fSDimitry Andric#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
345f757f3fSDimitry Andric  using std::wosyncstream;
355f757f3fSDimitry Andric  using std::wsyncbuf;
365f757f3fSDimitry Andric#  endif
37*0fca6ea1SDimitry Andric#endif // _LIBCPP_HAS_NO_EXPERIMENTAL_SYNCSTREAM
385f757f3fSDimitry Andric
395f757f3fSDimitry Andric  using std::fpos;
405f757f3fSDimitry Andric} // namespace std
41