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 10module; 11#include <__config> 12#ifndef _LIBCPP_HAS_NO_LOCALIZATION 13# include <ostream> 14#endif 15 16export module std:ostream; 17#ifndef _LIBCPP_HAS_NO_LOCALIZATION 18export namespace std { 19 using std::basic_ostream; 20 21 using std::ostream; 22# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 23 using std::wostream; 24# endif 25 26 using std::endl; 27 using std::ends; 28 using std::flush; 29 30# if 0 31 using std::emit_on_flush; 32 using std::flush_emit; 33 using std::noemit_on_flush; 34# endif 35 using std::operator<<; 36 37# if 0 38 // [ostream.formatted.print], print functions 39 using std::print; 40 using std::println; 41 42 using std::vprint_nonunicode; 43 using std::vprint_unicode; 44# endif 45} // namespace std 46#endif // _LIBCPP_HAS_NO_LOCALIZATION 47