Use RAII to save and restore precision and other state on an iostream.
More...
#include <vul_ios_state.h>
Use RAII to save and restore precision and other state on an iostream.
Definition at line 49 of file vul_ios_state.h.
◆ vul_ios_state_saver()
| vul_ios_state_saver::vul_ios_state_saver |
( |
std::ios_base & |
s | ) |
|
|
inlineexplicit |
◆ ~vul_ios_state_saver()
| vul_ios_state_saver::~vul_ios_state_saver |
( |
| ) |
|
|
inline |
◆ restore()
| void vul_ios_state_saver::restore |
( |
| ) |
|
|
inline |
◆ flags_
| const std::ios::fmtflags vul_ios_state_saver::flags_ |
|
private |
◆ precision_
| const std::streamsize vul_ios_state_saver::precision_ |
|
private |
◆ stream_
| std::ios_base& vul_ios_state_saver::stream_ |
|
private |
◆ width_
| const std::streamsize vul_ios_state_saver::width_ |
|
private |
The documentation for this class was generated from the following file: