A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/std.ios.manip below:

[std.ios.manip]

30 Input/output library [input.output] 30.5 Iostreams base classes [iostreams.base] 30.5.6 ios_­base manipulators [std.ios.manip] 30.5.6.1 fmtflags manipulators [fmtflags.manip]

ios_base& boolalpha(ios_base& str);

Effects: Calls str.setf(ios_­base​::​boolalpha).

ios_base& noboolalpha(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​boolalpha).

ios_base& showbase(ios_base& str);

Effects: Calls str.setf(ios_­base​::​showbase).

ios_base& noshowbase(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​showbase).

ios_base& showpoint(ios_base& str);

Effects: Calls str.setf(ios_­base​::​showpoint).

ios_base& noshowpoint(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​showpoint).

ios_base& showpos(ios_base& str);

Effects: Calls str.setf(ios_­base​::​showpos).

ios_base& noshowpos(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​showpos).

ios_base& skipws(ios_base& str);

Effects: Calls str.setf(ios_­base​::​skipws).

ios_base& noskipws(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​skipws).

ios_base& uppercase(ios_base& str);

Effects: Calls str.setf(ios_­base​::​uppercase).

ios_base& nouppercase(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​uppercase).

ios_base& unitbuf(ios_base& str);

Effects: Calls str.setf(ios_­base​::​unitbuf).

ios_base& nounitbuf(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​unitbuf).

30.5.6.2 adjustfield manipulators [adjustfield.manip]

ios_base& internal(ios_base& str);

Effects: Calls str.setf(ios_­base​::​internal, ios_­base​::​adjustfield).

ios_base& left(ios_base& str);

Effects: Calls str.setf(ios_­base​::​left, ios_­base​::​adjustfield).

ios_base& right(ios_base& str);

Effects: Calls str.setf(ios_­base​::​right, ios_­base​::​adjustfield).

30.5.6.3 basefield manipulators [basefield.manip]

ios_base& dec(ios_base& str);

Effects: Calls str.setf(ios_­base​::​dec, ios_­base​::​basefield).

ios_base& hex(ios_base& str);

Effects: Calls str.setf(ios_­base​::​hex, ios_­base​::​basefield).

ios_base& oct(ios_base& str);

Effects: Calls str.setf(ios_­base​::​oct, ios_­base​::​basefield).

30.5.6.4 floatfield manipulators [floatfield.manip]

ios_base& fixed(ios_base& str);

Effects: Calls str.setf(ios_­base​::​fixed, ios_­base​::​floatfield).

ios_base& scientific(ios_base& str);

Effects: Calls str.setf(ios_­base​::​scientific, ios_­base​::​floatfield).

ios_base& hexfloat(ios_base& str);

Effects: Calls str.setf(ios_­base​::​fixed | ios_­base​::​scientific, ios_­base​::​floatfield).

[Note: The more obvious use of ios_­base​::​hex to specify hexadecimal floating-point format would change the meaning of existing well defined programs. C++ 2003 gives no meaning to the combination of fixed and scientific.end note]

ios_base& defaultfloat(ios_base& str);

Effects: Calls str.unsetf(ios_­base​::​floatfield).

30.5.6.5 Error reporting [error.reporting]

error_code make_error_code(io_errc e) noexcept;

Returns: error_­code(static_­cast<int>(e), iostream_­category()).

error_condition make_error_condition(io_errc e) noexcept;

Returns: error_­condition(static_­cast<int>(e), iostream_­category()).

const error_category& iostream_category() noexcept;

Returns: A reference to an object of a type derived from class error_­category.

The object's default_­error_­condition and equivalent virtual functions shall behave as specified for the class error_­category. The object's name virtual function shall return a pointer to the string "iostream".


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4