RTI Connext Modern C++ API
Version 5.3.0
|
#include <StreamFlagSaver.hpp>
RAII utility to save and restore the flags of a std::ostream
Use: void example(std::ostream& out) { rti::util::StreamFlagSaver flag_saver (out); out << std::hex << 33; // ... } // out flags restored