Struct shared_memory::ShmTypeHelper

template<typename ElemType>
struct shared_memory::ShmTypeHelper

ShmTypeHelper is a small struct that allow the definition of templated typedef.

Public Types

typedef boost::interprocess::allocator<ElemType, boost::interprocess::managed_shared_memory::segment_manager> ElemTypeAllocator

ShmemAllocator typedef allows to create std::allocator with the boost interprocess library.

typedef boost::container::deque<ElemType, ShmTypeHelper<ElemType>::ElemTypeAllocator> ShmDeque
typedef boost::container::vector<ElemType, ShmTypeHelper<ElemType>::ElemTypeAllocator> ShmVector