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 an old version of boost. Click here for the latest Boost documentation.
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:
  // construct/copy/destruct
  explicit capacity_limit_reached(const char *);
  explicit capacity_limit_reached(std::string const &);
  ~capacity_limit_reached();
};

Description

capacity_limit_reached public construct/copy/destruct

  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