Celeritas 0.6.0-dev.115+3b60a5fd
|
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