26#ifndef PANZER_IOS_ALL_SAVER_HPP
27#define PANZER_IOS_ALL_SAVER_HPP
29#include "PanzerDiscFE_config.hpp"
35 template <
typename Ch,
class Tr = ::std::
char_traits<Ch> >
36 class basic_ios_all_saver;
51 template <
typename Ch,
class Tr >
90 ::std::basic_streambuf<Ch, Tr> *
const a7_save_;
RAII helper that saves a stream's formatting state on construction and restores it on destruction (or...
basic_ios_all_saver & operator=(const basic_ios_all_saver &)
::std::basic_ostream< Ch, Tr > *const a6_save_
state_type::char_type const a8_save_
~basic_ios_all_saver()
Restores the stream's formatting state as captured at construction.
::std::basic_streambuf< Ch, Tr > *const a7_save_
state_type::iostate const a5_save_
state_type::fmtflags const a1_save_
::std::streamsize const a2_save_
state_type::iostate const a4_save_
basic_ios_all_saver(state_type &s)
Captures the current formatting state of the given stream.
::std::streamsize const a3_save_
::std::basic_ios< Ch, Tr > state_type
void restore()
Restores the stream's formatting state as captured at construction.
basic_ios_all_saver< char > ios_all_saver
basic_ios_all_saver for narrow-character streams.
basic_ios_all_saver< wchar_t > wios_all_saver
basic_ios_all_saver for wide-character streams.