boost::log::bad_alloc — Base class for memory allocation errors.
// In header: <boost/log/exceptions.hpp> class bad_alloc : public bad_alloc { public: // construct/copy/destruct explicit bad_alloc(const char *); explicit bad_alloc(std::string const &); ~bad_alloc(); // public member functions const char * what() const; };