std::ios_base::flags
fmtflags flags() const; |
(1) | |
fmtflags flags( fmtflags flags ); |
(2) |
Manages format flags.
1) returns current formatting setting.
2) replaces current settings with given ones.
Parameters
flags | - | new formatting setting. It can be a combination of the following constants:
|
Return value
the formatting flags before the call to the function.
Example
See also
sets specific format flag (public member function) |
|
clears specific format flag (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/io/ios_base/flags