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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template make_managed_unique_ptr

boost::interprocess::make_managed_unique_ptr

Synopsis

// In header: <boost/interprocess/smart_ptr/unique_ptr.hpp>


template<typename T, typename ManagedMemory> 
  unspecified make_managed_unique_ptr(T * constructed_object, 
                                      ManagedMemory & managed_memory);

Description

Returns an instance of a unique pointer constructed with boost::interproces::deleter from a pointer of type T that has been allocated in the passed managed segment


PrevUpHomeNext