#include <weak_ptr.hpp>
Public Types | |
| typedef T | element_type |
Public Member Functions | |
| void | _internal_assign (T *px2, boost::detail::shared_count const &pn2) |
| template<class Y > | |
| bool | _internal_less (weak_ptr< Y > const &rhs) const |
| bool | expired () const |
| shared_ptr< T > | lock () const |
| template<class Y > | |
| weak_ptr & | operator= (weak_ptr< Y > const &r) |
| template<class Y > | |
| weak_ptr & | operator= (shared_ptr< Y > const &r) |
| void | reset () |
| void | swap (this_type &other) |
| long | use_count () const |
| weak_ptr () | |
| template<class Y > | |
| weak_ptr (weak_ptr< Y > const &r, typename detail::sp_enable_if_convertible< Y, T >::type=detail::sp_empty()) | |
| template<class Y > | |
| weak_ptr (shared_ptr< Y > const &r, typename detail::sp_enable_if_convertible< Y, T >::type=detail::sp_empty()) | |
Private Types | |
| typedef weak_ptr< T > | this_type |
Private Attributes | |
| boost::detail::weak_count | pn |
| T * | px |
Friends | |
| class | shared_ptr |
| class | weak_ptr |
Definition at line 28 of file weak_ptr.hpp.
| typedef T boost::weak_ptr< T >::element_type |
Definition at line 37 of file weak_ptr.hpp.
typedef weak_ptr<T> boost::weak_ptr< T >::this_type [private] |
Definition at line 33 of file weak_ptr.hpp.
| boost::weak_ptr< T >::weak_ptr | ( | ) | [inline] |
Definition at line 39 of file weak_ptr.hpp.
| boost::weak_ptr< T >::weak_ptr | ( | weak_ptr< Y > const & | r, |
| typename detail::sp_enable_if_convertible< Y, T >::type | = detail::sp_empty() |
||
| ) | [inline] |
Definition at line 66 of file weak_ptr.hpp.
| boost::weak_ptr< T >::weak_ptr | ( | shared_ptr< Y > const & | r, |
| typename detail::sp_enable_if_convertible< Y, T >::type | = detail::sp_empty() |
||
| ) | [inline] |
Definition at line 81 of file weak_ptr.hpp.
| void boost::weak_ptr< T >::_internal_assign | ( | T * | px2, |
| boost::detail::shared_count const & | pn2 | ||
| ) | [inline] |
Definition at line 138 of file weak_ptr.hpp.
| bool boost::weak_ptr< T >::_internal_less | ( | weak_ptr< Y > const & | rhs | ) | const [inline] |
Definition at line 144 of file weak_ptr.hpp.
| bool boost::weak_ptr< T >::expired | ( | ) | const [inline] |
Definition at line 122 of file weak_ptr.hpp.
| shared_ptr<T> boost::weak_ptr< T >::lock | ( | ) | const [inline] |
Definition at line 112 of file weak_ptr.hpp.
| weak_ptr& boost::weak_ptr< T >::operator= | ( | weak_ptr< Y > const & | r | ) | [inline] |
Definition at line 95 of file weak_ptr.hpp.
| weak_ptr& boost::weak_ptr< T >::operator= | ( | shared_ptr< Y > const & | r | ) | [inline] |
Definition at line 103 of file weak_ptr.hpp.
| void boost::weak_ptr< T >::reset | ( | ) | [inline] |
Definition at line 127 of file weak_ptr.hpp.
| void boost::weak_ptr< T >::swap | ( | this_type & | other | ) | [inline] |
Definition at line 132 of file weak_ptr.hpp.
| long boost::weak_ptr< T >::use_count | ( | ) | const [inline] |
Definition at line 117 of file weak_ptr.hpp.
friend class shared_ptr [friend] |
Definition at line 157 of file weak_ptr.hpp.
friend class weak_ptr [friend] |
Definition at line 156 of file weak_ptr.hpp.
boost::detail::weak_count boost::weak_ptr< T >::pn [private] |
Definition at line 162 of file weak_ptr.hpp.
T* boost::weak_ptr< T >::px [private] |
Definition at line 161 of file weak_ptr.hpp.