xref: /freebsd/contrib/llvm-project/libcxx/modules/std/ostream.inc (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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#ifndef _LIBCPP_HAS_NO_LOCALIZATION
12  using std::basic_ostream;
13
14  using std::ostream;
15#  ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
16  using std::wostream;
17#  endif
18
19  using std::endl;
20  using std::ends;
21  using std::flush;
22
23#  if 0
24  using std::emit_on_flush;
25  using std::flush_emit;
26  using std::noemit_on_flush;
27#  endif
28  using std::operator<<;
29
30#  if _LIBCPP_STD_VER >= 23
31  // [ostream.formatted.print], print functions
32  using std::print;
33  using std::println;
34
35  using std::vprint_nonunicode;
36#    ifndef _LIBCPP_HAS_NO_UNICODE
37  using std::vprint_unicode;
38#    endif // _LIBCPP_HAS_NO_UNICODE
39#  endif   // _LIBCPP_STD_VER >= 23
40
41#endif // _LIBCPP_HAS_NO_LOCALIZATION
42} // namespace std
43