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

Click here to view the latest version of this page.
PrevUpHomeNext

Struct template managed_shared_ptr

boost::interprocess::managed_shared_ptr

Synopsis

template<typename T, typename ManagedMemory> 
struct managed_shared_ptr {
  // types
  typedef ManagedMemory::template allocator< void >::type void_allocator;
  typedef ManagedMemory::template deleter< T >::type      deleter;       
  typedef shared_ptr< T, void_allocator, deleter >        type;          
};

Description

Returns the type of a shared pointer of type T with the allocator boost::interprocess::allocator allocator and boost::interprocess::deleter deleter that can be constructed in the given managed segment type.


PrevUpHomeNext