Celeritas
0.5.0-56+6b053cd
|
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