class sentry;
rdbuf()->pubsync()
-1
true
123456789
class sentry { public: explicit sentry (basic_ostream& os); ~sentry(); operator bool() const; private: sentry (const sentry&); // not defined sentry& operator= (const sentry&); // not defined };
12345678
class sentry { public: explicit sentry (basic_ostream& os); ~sentry(); explicit operator bool() const; sentry (const sentry&) = delete; sentry& operator= (const sentry&) = delete; };
bool
false