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 <ios> 14#endif 15 16export module std:ios; 17#ifndef _LIBCPP_HAS_NO_LOCALIZATION 18export namespace std { 19 using std::fpos; 20 // based on [tab:fpos.operations] 21 using std::operator!=; // Note not affected by P1614, seems like a bug. 22 using std::operator-; 23 using std::operator==; 24 25 using std::streamoff; 26 using std::streamsize; 27 28 using std::basic_ios; 29 using std::ios_base; 30 31 // [std.ios.manip], manipulators 32 using std::boolalpha; 33 using std::noboolalpha; 34 35 using std::noshowbase; 36 using std::showbase; 37 38 using std::noshowpoint; 39 using std::showpoint; 40 41 using std::noshowpos; 42 using std::showpos; 43 44 using std::noskipws; 45 using std::skipws; 46 47 using std::nouppercase; 48 using std::uppercase; 49 50 using std::nounitbuf; 51 using std::unitbuf; 52 53 // [adjustfield.manip], adjustfield 54 using std::internal; 55 using std::left; 56 using std::right; 57 58 // [basefield.manip], basefield 59 using std::dec; 60 using std::hex; 61 using std::oct; 62 63 // [floatfield.manip], floatfield 64 using std::defaultfloat; 65 using std::fixed; 66 using std::hexfloat; 67 using std::scientific; 68 69 // [error.reporting], error reporting 70 using std::io_errc; 71 72 using std::iostream_category; 73 using std::is_error_code_enum; 74 using std::make_error_code; 75 using std::make_error_condition; 76 77 // [iosfwd.syn] 78 using std::ios; 79# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 80 using std::wios; 81# endif 82} // namespace std 83#endif // _LIBCPP_HAS_NO_LOCALIZATION 84