...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::basic_formatting_ostream::sentry
// In header: <boost/log/utility/formatting_ostream.hpp> class sentry : public sentry { public: // construct/copy/destruct explicit sentry(basic_formatting_ostream &); sentry(sentry const &) = delete; sentry & operator=(sentry const &) = delete; // public member functions explicit operator bool() const; bool operator!() const; };
sentry
public
construct/copy/destructexplicit sentry(basic_formatting_ostream & strm);
sentry(sentry const &) = delete;
sentry & operator=(sentry const &) = delete;