pstore2
Public Member Functions | List of all members
pstore::ios_flags_saver Class Reference

A class used to save an iostream's formatting flags on construction and restore them on destruction. More...

#include <ios_state.hpp>

Public Member Functions

 ios_flags_saver (std::ios_base &stream)
 
 ios_flags_saver (std::ios_base &stream, std::ios_base::fmtflags const &flags) noexcept
 
 ios_flags_saver (ios_flags_saver const &)=delete
 
 ios_flags_saver (ios_flags_saver &&rhs) noexcept=delete
 
ios_flags_saveroperator= (ios_flags_saver const &)=delete
 
ios_flags_saveroperator= (ios_flags_saver &&rhs)=delete
 

Detailed Description

A class used to save an iostream's formatting flags on construction and restore them on destruction.

Normally used to manage the restoration of the flags on exit from a scope.


The documentation for this class was generated from the following file: