This class implements a guard that saves the state of a basic_ostream and restores that state upon destruction of the guard.
Declared in <bslim_formatguard.h>
class FormatGuard;
| Name | Description |
|---|---|
FormatGuard [constructor] | Create a FormatGuard object saving the state of the specified stream. |
~FormatGuard [destructor] | Restore all the saved state to the stream that was passed to the constructor. |