Dune Core Modules (2.6.0)
Dune::ios_base_all_saver Class Reference
Utility class for storing and resetting stream attributes. More...
|Export type of object we save the state for. |
Public Member Functions
|ios_base_all_saver (state_type &ios_)|
|Constructor that stores the currently used flags. More...|
|Destructor that restores the flags stored by the constructor. |
|Restore flags now. More...|
Utility class for storing and resetting stream attributes.
The constructor saves the attributes currently set in the ios_base object and the destructor restores these attributes again. The attributes can also be restores at any time by calling the method restore().
The saved attributes are the format flags, precision, and width.
- The interface of this class is meant to be drop-in compatible the the class of the same name from <boost/io/ios_state.hpp>.
The documentation for this class was generated from the following files:
| Legal Statements / Impressum | generated with Hugo v0.80.0 (Jun 1, 22:28, 2023)