...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::deleter
// In header: <boost/interprocess/smart_ptr/deleter.hpp> template<typename T, typename SegmentManager> class deleter { public: // types typedef boost::intrusive::pointer_traits< typename SegmentManager::void_pointer >::template rebind_pointer< T >::type pointer; // construct/copy/destruct deleter(segment_manager_pointer); // public member functions void operator()(const pointer &); };