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

PrevUpHomeNext

Class capacity_limit_reached

boost::log::capacity_limit_reached — The exception is used to indicate reaching a storage capacity limit.

Synopsis

// In header: <boost/log/exceptions.hpp>


class capacity_limit_reached : public bad_alloc {
public:

  // public member functions
  explicit capacity_limit_reached(const char *);
  explicit capacity_limit_reached(std::string const &);
  ~capacity_limit_reached();
};

Description

capacity_limit_reached public member functions

  1. explicit capacity_limit_reached(const char * descr);

    Initializing constructor. Creates an exception with the specified error message.

  2. explicit capacity_limit_reached(std::string const & descr);

    Initializing constructor. Creates an exception with the specified error message.

  3. ~capacity_limit_reached();

    Destructor


PrevUpHomeNext