Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 2daa88693b.
PrevUpHomeNext

Class sentry

boost::log::basic_formatting_ostream::sentry

Synopsis

// In header: <boost/log/utility/formatting_ostream.hpp>



class sentry : public sentry {
public:

  // public member functions
  explicit sentry(basic_formatting_ostream &);
  explicit operator bool() const;
  bool operator!() const;
  sentry(sentry const &) = delete;
  sentry & operator=(sentry const &) = delete;
};

Description

sentry public member functions

  1. explicit sentry(basic_formatting_ostream & strm);
  2. explicit operator bool() const;
  3. bool operator!() const;
  4. sentry(sentry const &) = delete;
  5. sentry & operator=(sentry const &) = delete;

PrevUpHomeNext