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

Struct template allocator

boost::interprocess::segment_manager::allocator

Synopsis

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


template<typename T> 
struct allocator {
  // types
  typedef boost::interprocess::allocator< T, segment_manager > type;
};

Description

This is the default allocator to allocate types T from this managed segment


PrevUpHomeNext