Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
weak_ptr.hpp File Reference

Describes the smart pointer weak_ptr. More...

#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
#include <boost/interprocess/smart_ptr/shared_ptr.hpp>
#include <boost/detail/no_exceptions_support.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/smart_ptr/deleter.hpp>
#include <boost/intrusive/pointer_traits.hpp>
#include <boost/interprocess/detail/config_end.hpp>
Include dependency graph for weak_ptr.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::interprocess::weak_ptr< T, A, D >
 The weak_ptr class template stores a "weak reference" to an object that's already managed by a shared_ptr. More...
 
struct  boost::interprocess::managed_weak_ptr< T, ManagedMemory >
 Returns the type of a weak pointer of type T with the allocator boost::interprocess::allocator allocator and boost::interprocess::deleter deleter that can be constructed in the given managed segment type. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::interprocess
 

Functions

template<class T , class A , class D , class U , class A2 , class D2 >
bool boost::interprocess::operator< (weak_ptr< T, A, D > const &a, weak_ptr< U, A2, D2 > const &b)
 
template<class T , class A , class D >
void boost::interprocess::swap (weak_ptr< T, A, D > &a, weak_ptr< T, A, D > &b)
 
template<class T , class ManagedMemory >
managed_weak_ptr< T,
ManagedMemory >::type 
boost::interprocess::make_managed_weak_ptr (T *constructed_object, ManagedMemory &managed_memory)
 Returns an instance of a weak pointer constructed with the default allocator and deleter from a pointer of type T that has been allocated in the passed managed segment. More...
 

Detailed Description

Describes the smart pointer weak_ptr.