...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::interprocess::managed_shared_ptr
// In header: <boost/interprocess/smart_ptr/shared_ptr.hpp> 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; };