std::basic_istream::sentry

From Cppreference

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

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)