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/basefield.manip below:

[basefield.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.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).

The function signature dec(ios_­base&) can be called by the function signature basic_­ostream& stream​::​operator<<(ios_­base& (*)(ios_­base&)) to permit expressions of the form cout << dec to change the format flags stored in cout.


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