Restores the format flags and precision of a stream when it goes out of scope. More...
#include <util.h>
Restores the format flags and precision of a stream when it goes out of scope.
Public Member Functions | |
| StreamFormatGuard (std::ostream &stream) | |
| ~StreamFormatGuard () | |
| StreamFormatGuard (const StreamFormatGuard &)=delete | |
| StreamFormatGuard & | operator= (const StreamFormatGuard &)=delete |
|
inlineexplicit |
|
inline |
|
delete |
|
delete |