Otclient
14/8/2020
|
#include <shared_ptr.h>
Public Types | |
typedef T | element_type |
typedef shared_base< T > *weak_ptr::* | unspecified_bool_type |
Public Member Functions | |
weak_ptr () | |
weak_ptr (shared_ptr< T > const &rhs) | |
template<class U > | |
weak_ptr (shared_ptr< U > const &rhs, typename std::is_convertible< U, T >::type *=nullptr) | |
weak_ptr (weak_ptr< T > const &rhs) | |
template<class U > | |
weak_ptr (weak_ptr< U > const &rhs, typename std::is_convertible< U, T >::type *=nullptr) | |
~weak_ptr () | |
void | reset () |
void | swap (weak_ptr &rhs) |
T * | get () const |
refcount_t | use_count () const |
refcount_t | weak_count () const |
bool | expired () const |
shared_ptr< T > | lock () |
weak_ptr & | operator= (weak_ptr const &rhs) |
template<class U > | |
weak_ptr & | operator= (shared_ptr< U > const &rhs) |
template<class U > | |
weak_ptr & | operator= (weak_ptr< T > const &rhs) |
operator unspecified_bool_type () const | |
bool | operator! () const |
weak_ptr (weak_ptr &&rhs) | |
weak_ptr & | operator= (weak_ptr &&rhs) |
Definition at line 43 of file shared_ptr.h.
typedef T stdext::weak_ptr< T >::element_type |
Definition at line 149 of file shared_ptr.h.
typedef shared_base<T>* weak_ptr::* stdext::weak_ptr< T >::unspecified_bool_type |
Definition at line 176 of file shared_ptr.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 181 of file shared_ptr.h.
|
inline |
Definition at line 166 of file shared_ptr.h.
|
inline |
Definition at line 163 of file shared_ptr.h.
|
inline |
Definition at line 167 of file shared_ptr.h.
|
inline |
Definition at line 177 of file shared_ptr.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 161 of file shared_ptr.h.
|
inline |
|
inline |