[std.ios.manip] (original) (raw)
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.1 fmtflags manipulators [fmtflags.manip]
Each function specified in this subclause is a designated addressable function ([namespace.std]).
ios_base& boolalpha(ios_base& str);
Effects: Callsstr.setf(ios_base::boolalpha).
ios_base& noboolalpha(ios_base& str);
Effects: Callsstr.unsetf(ios_base::boolalpha).
ios_base& showbase(ios_base& str);
Effects: Callsstr.setf(ios_base::showbase).
ios_base& noshowbase(ios_base& str);
Effects: Callsstr.unsetf(ios_base::showbase).
ios_base& showpoint(ios_base& str);
Effects: Callsstr.setf(ios_base::showpoint).
ios_base& noshowpoint(ios_base& str);
Effects: Callsstr.unsetf(ios_base::showpoint).
ios_base& showpos(ios_base& str);
Effects: Callsstr.setf(ios_base::showpos).
ios_base& noshowpos(ios_base& str);
Effects: Callsstr.unsetf(ios_base::showpos).
ios_base& skipws(ios_base& str);
Effects: Callsstr.setf(ios_base::skipws).
ios_base& noskipws(ios_base& str);
Effects: Callsstr.unsetf(ios_base::skipws).
ios_base& uppercase(ios_base& str);
Effects: Callsstr.setf(ios_base::uppercase).
ios_base& nouppercase(ios_base& str);
Effects: Callsstr.unsetf(ios_base::uppercase).
ios_base& unitbuf(ios_base& str);
Effects: Callsstr.setf(ios_base::unitbuf).
ios_base& nounitbuf(ios_base& str);
Effects: Callsstr.unsetf(ios_base::unitbuf).
31.5.5.2 adjustfield manipulators [adjustfield.manip]
Each function specified in this subclause is a designated addressable function ([namespace.std]).
ios_base& internal(ios_base& str);
Effects: Callsstr.setf(ios_base::internal, ios_base::adjustfield).
ios_base& left(ios_base& str);
Effects: Callsstr.setf(ios_base::left, ios_base::adjustfield).
ios_base& right(ios_base& str);
Effects: Callsstr.setf(ios_base::right, ios_base::adjustfield).
31.5.5.3 basefield manipulators [basefield.manip]
Each function specified in this subclause is a designated addressable function ([namespace.std]).
ios_base& dec(ios_base& str);
Effects: Callsstr.setf(ios_base::dec, ios_base::basefield).
ios_base& hex(ios_base& str);
Effects: Callsstr.setf(ios_base::hex, ios_base::basefield).
ios_base& oct(ios_base& str);
Effects: Callsstr.setf(ios_base::oct, ios_base::basefield).
31.5.5.4 floatfield manipulators [floatfield.manip]
Each function specified in this subclause is a designated addressable function ([namespace.std]).
ios_base& fixed(ios_base& str);
Effects: Callsstr.setf(ios_base::fixed, ios_base::floatfield).
ios_base& scientific(ios_base& str);
Effects: Callsstr.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 1:
ios_base::hex cannot be used to specify a hexadecimal floating-point format, because it is not part of ios_base::floatfield(Table 135).
— _end note_]
ios_base& defaultfloat(ios_base& str);
Effects: Calls str.unsetf(ios_base::floatfield).