Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Header <boost/pool/singleton_pool.hpp>

The singleton_pool class allows other pool interfaces for types of the same size to share the same underlying pool.

Header singleton_pool.hpp provides a template class singleton_pool, which provides access to a pool as a singleton object.

namespace boost {
  template<typename Tag, unsigned RequestedSize, typename UserAllocator, 
           typename Mutex, unsigned NextSize, unsigned MaxSize> 
    class singleton_pool;
}

PrevUpHomeNext