Create a FormatGuard object saving the state of the specified stream.
Declared in <bslim_formatguard.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS>
explicit
FormatGuard(bsl::basic_ostream<CHAR_TYPE, CHAR_TRAITS>* stream);
| Name | Description |
|---|---|
| stream | stream whose format state is saved |