Celeritas
0.5.0-86+4a8eea4
|
Save a stream's state and restore on destruction. More...
#include <ScopedStreamFormat.hh>
Public Member Functions | |
ScopedStreamFormat (std::ios *s) | |
Construct with defaults. | |
~ScopedStreamFormat () | |
Restore formats on destruction. | |
CELER_DELETE_COPY_MOVE (ScopedStreamFormat) | |
Save a stream's state and restore on destruction.
Example:
celeritas::ScopedStreamFormat::CELER_DELETE_COPY_MOVE | ( | ScopedStreamFormat | ) |
Prevent copying and moving for RAII class