43 lines · plain
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-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11#if _LIBCPP_HAS_LOCALIZATION12 using std::basic_ostream;13 14 using std::ostream;15# if _LIBCPP_HAS_WIDE_CHARACTERS16 using std::wostream;17# endif18 19 using std::endl;20 using std::ends;21 using std::flush;22 23# if 024 using std::emit_on_flush;25 using std::flush_emit;26 using std::noemit_on_flush;27# endif28 using std::operator<<;29 30# if _LIBCPP_STD_VER >= 2331 // [ostream.formatted.print], print functions32 using std::print;33 using std::println;34 35 using std::vprint_nonunicode;36# if _LIBCPP_HAS_UNICODE37 using std::vprint_unicode;38# endif // _LIBCPP_HAS_UNICODE39# endif // _LIBCPP_STD_VER >= 2340 41#endif // _LIBCPP_HAS_LOCALIZATION42} // namespace std43