MADNESS
version 0.9
|
#include <shared_ptr_bits.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
weak_ptr () | |
template<class Y > | |
weak_ptr (weak_ptr< Y > const &r, typename detail::enable_if_convertible< Y, T >::type=detail::sp_empty()) | |
template<class Y > | |
weak_ptr (shared_ptr< Y > const &r, typename detail::enable_if_convertible< Y, T >::type=detail::sp_empty()) | |
shared_ptr< T > | lock () const |
long | use_count () const |
bool | expired () const |
void | reset () |
void | swap (this_type &other) |
void | _internal_assign (T *px2, detail::shared_count const &pn2) |
template<class Y > | |
bool | _internal_less (weak_ptr< Y > const &rhs) const |
Friends | |
template<class Y > | |
class | weak_ptr |
template<class Y > | |
class | shared_ptr |
typedef T madness::tr1::shptr::weak_ptr< T >::element_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References madness::tr1::shptr::detail::weak_count::swap(), and std::swap().
|
inline |