Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Header <boost/pool/pool.hpp>

Provides class pool: a fast memory allocator that guarantees proper alignment of all allocated chunks, and which extends and generalizes the framework provided by the simple segregated storage solution. Also provides two UserAllocator classes which can be used in conjuction with pool.

namespace boost {
  struct default_user_allocator_new_delete;
  struct default_user_allocator_malloc_free;

  template<typename UserAllocator> class pool;
}

PrevUpHomeNext