boost::interprocess::make_managed_shared_ptr
// In header: <boost/interprocess/smart_ptr/shared_ptr.hpp> template<typename T, typename ManagedMemory> managed_shared_ptr< ( constructed_object, managed_memory);
Returns an instance of a shared pointer constructed with the default allocator and deleter from a pointer of type T that has been allocated in the passed managed segment