Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
allocator.hpp File Reference

Describes an allocator that allocates portions of fixed size memory buffer (shared memory, mapped file...) More...

#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
#include <boost/intrusive/pointer_traits.hpp>
#include <boost/interprocess/interprocess_fwd.hpp>
#include <boost/interprocess/containers/allocation_type.hpp>
#include <boost/container/detail/multiallocation_chain.hpp>
#include <boost/interprocess/allocators/detail/allocator_common.hpp>
#include <boost/interprocess/detail/utilities.hpp>
#include <boost/interprocess/containers/version_type.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/assert.hpp>
#include <boost/utility/addressof.hpp>
#include <boost/interprocess/detail/type_traits.hpp>
#include <memory>
#include <new>
#include <algorithm>
#include <cstddef>
#include <stdexcept>
#include <boost/interprocess/detail/config_end.hpp>
Include dependency graph for allocator.hpp:
This graph shows which files directly or indirectly include this file:

Classes

singleton  boost::interprocess::allocator< T, SegmentManager >
 An STL compatible allocator that uses a segment manager as memory source. More...
 
struct  boost::interprocess::allocator< T, SegmentManager >::rebind< T2 >
 Obtains an allocator that allocates objects of type T2. More...
 
struct  boost::has_trivial_destructor< T >
 
struct  boost::has_trivial_destructor< boost::interprocess::allocator< T, SegmentManager > >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::interprocess
 

Functions

template<class T , class SegmentManager >
bool boost::interprocess::operator== (const allocator< T, SegmentManager > &alloc1, const allocator< T, SegmentManager > &alloc2)
 Equality test for same type of allocator. More...
 
template<class T , class SegmentManager >
bool boost::interprocess::operator!= (const allocator< T, SegmentManager > &alloc1, const allocator< T, SegmentManager > &alloc2)
 Inequality test for same type of allocator. More...
 

Detailed Description

Describes an allocator that allocates portions of fixed size memory buffer (shared memory, mapped file...)