template<typename _CharT, typename _Traits>
class std::basic_ostream< _CharT, _Traits >::sentry
Performs setup work for output streams.
Objects of this class are created before all of the standard inserters are run. It is responsible for exception-safe prefix and suffix operations.
Definition at line 439 of file ostream.
template<typename _CharT , typename _Traits >
template<typename _CharT , typename _Traits >
Possibly flushes the stream.
If ios_base::unitbuf
is set in os.flags()
, and std::uncaught_exception()
is true, the sentry destructor calls flush()
on the output stream.
Definition at line 469 of file ostream.