Files
cppdraft_translate/cppdraft/basefield/manip.md
2025-10-25 03:02:53 +03:00

2.4 KiB
Raw Blame History

[basefield.manip]

31 Input/output library [input.output]

31.5 Iostreams base classes [iostreams.base]

31.5.5 ios_base manipulators [std.ios.manip]

31.5.5.3 basefield manipulators [basefield.manip]

1

#

Each function specified in this subclause is a designated addressable function ([namespace.std]).

🔗

ios_base& dec(ios_base& str);

2

#

Effects: Callsstr.setf(ios_base::dec, ios_base::basefield).

3

#

Returns: str.265

🔗

ios_base& hex(ios_base& str);

4

#

Effects: Callsstr.setf(ios_base::hex, ios_base::basefield).

5

#

Returns: str.

🔗

ios_base& oct(ios_base& str);

6

#

Effects: Callsstr.setf(ios_base::oct, ios_base::basefield).

7

#

Returns: str.

265)265)

The function signaturedec(ios_base&) can be called by the function signaturebasic_ostream& stream::operator<<(ios_base& (*)(ios_base&)) to permit expressions of the formcout << dec to change the format flags stored incout.