std::basic_ostream::sentry

From Cppreference

Jump to: navigation, search
Defined in header <ostream>

class sentry;

[edit] Member functions

(constructor)
constructs the sentry object.
All the preparation tasks are done here
(public member function)
operator bool
checks if the preparation of the stream object was successful
(public member function)