| Home | Libraries | People | FAQ | More

## Class bad_alloc

boost::interprocess::bad_alloc

## Synopsis

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

    class bad_alloc : public boost::interprocess::interprocess_exception {
    public:

      // public member functions
      bad_alloc();
      const char * what() const noexcept;
    };

## Description

This exception is thrown when a memory request can't be fulfilled.

### `bad_alloc` public member functions

1.     bad_alloc();

2.     const char * what() const noexcept;