...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_weak_ptr
// In header: <boost/interprocess/smart_ptr/weak_ptr.hpp> template<typename T, typename ManagedMemory> struct managed_weak_ptr { // types typedef weak_ptr< T, typename ManagedMemory::template allocator< void >::type, typename ManagedMemory::template deleter< T >::type > type; };