#include <boost_shared_ptr.h>
Public Member Functions | |
weak_count () | |
weak_count (const shared_count &__r) | |
weak_count (const weak_count &__r) | |
~weak_count () | |
weak_count & | operator= (const shared_count &__r) |
weak_count & | operator= (const weak_count &__r) |
void | swap (weak_count &__r) |
long | use_count () const |
Private Attributes | |
_Sp_counted_base * | _M_pi |
Friends | |
class | shared_count |
bool | operator== (const weak_count &__a, const weak_count &__b) |
bool | operator< (const weak_count &__a, const weak_count &__b) |
Definition at line 331 of file boost_shared_ptr.h.
std::tr1::weak_count::weak_count | ( | ) | [inline] |
Definition at line 341 of file boost_shared_ptr.h.
std::tr1::weak_count::weak_count | ( | const shared_count & | __r | ) | [inline] |
Definition at line 345 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::weak_add_ref().
std::tr1::weak_count::weak_count | ( | const weak_count & | __r | ) | [inline] |
Definition at line 352 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::weak_add_ref().
std::tr1::weak_count::~weak_count | ( | ) | [inline] |
Definition at line 359 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::weak_release().
weak_count& std::tr1::weak_count::operator= | ( | const weak_count & | __r | ) | [inline] |
Definition at line 379 of file boost_shared_ptr.h.
References _M_pi, std::tr1::_Sp_counted_base::weak_add_ref(), and std::tr1::_Sp_counted_base::weak_release().
weak_count& std::tr1::weak_count::operator= | ( | const shared_count & | __r | ) | [inline] |
Definition at line 366 of file boost_shared_ptr.h.
References _M_pi, std::tr1::shared_count::_M_pi, std::tr1::_Sp_counted_base::weak_add_ref(), and std::tr1::_Sp_counted_base::weak_release().
void std::tr1::weak_count::swap | ( | weak_count & | __r | ) | [inline] |
Definition at line 392 of file boost_shared_ptr.h.
References _M_pi.
Referenced by std::tr1::weak_ptr< _Tp >::swap().
long std::tr1::weak_count::use_count | ( | ) | const [inline] |
Definition at line 400 of file boost_shared_ptr.h.
References _M_pi, and std::tr1::_Sp_counted_base::use_count().
Referenced by std::tr1::weak_ptr< _Tp >::expired(), and std::tr1::weak_ptr< _Tp >::use_count().
bool operator< | ( | const weak_count & | __a, | |
const weak_count & | __b | |||
) | [friend] |
Definition at line 408 of file boost_shared_ptr.h.
bool operator== | ( | const weak_count & | __a, | |
const weak_count & | __b | |||
) | [friend] |
Definition at line 404 of file boost_shared_ptr.h.
friend class shared_count [friend] |
Definition at line 337 of file boost_shared_ptr.h.
_Sp_counted_base* std::tr1::weak_count::_M_pi [private] |
Definition at line 335 of file boost_shared_ptr.h.
Referenced by operator=(), swap(), use_count(), weak_count(), and ~weak_count().