Otclient
14/8/2020
|
#include <shared_ptr.h>
Public Types | |
typedef T | element_type |
typedef shared_base< T > *shared_ptr::* | unspecified_bool_type |
Public Member Functions | |
shared_ptr () | |
shared_ptr (T *p) | |
shared_ptr (shared_ptr const &rhs) | |
template<class U > | |
shared_ptr (shared_ptr< U > const &rhs, typename std::is_convertible< U, T >::type *=nullptr) | |
~shared_ptr () | |
void | reset () |
void | reset (T *rhs) |
void | swap (shared_ptr &rhs) |
void | set (T *p) |
T * | get () const |
refcount_t | use_count () const |
refcount_t | weak_count () const |
bool | is_unique () const |
T & | operator* () const |
T * | operator-> () const |
template<class U > | |
shared_ptr & | operator= (shared_ptr< U > const &rhs) |
shared_ptr & | operator= (shared_ptr const &rhs) |
shared_ptr & | operator= (T *rhs) |
operator unspecified_bool_type () const | |
bool | operator! () const |
shared_ptr (shared_ptr &&rhs) | |
shared_ptr & | operator= (shared_ptr &&rhs) |
Friends | |
class | weak_ptr< T > |
Definition at line 40 of file shared_ptr.h.
typedef T stdext::shared_ptr< T >::element_type |
Definition at line 96 of file shared_ptr.h.
typedef shared_base<T>* shared_ptr::* stdext::shared_ptr< T >::unspecified_bool_type |
Definition at line 125 of file shared_ptr.h.
|
inline |
|
inline |
Definition at line 99 of file shared_ptr.h.
|
inline |
Definition at line 100 of file shared_ptr.h.
|
inline |
Definition at line 102 of file shared_ptr.h.
|
inline |
Definition at line 103 of file shared_ptr.h.
|
inline |
Definition at line 130 of file shared_ptr.h.
|
inline |
|
inline |
|
inline |
Definition at line 126 of file shared_ptr.h.
|
inline |
Definition at line 127 of file shared_ptr.h.
|
inline |
Definition at line 116 of file shared_ptr.h.
|
inline |
Definition at line 117 of file shared_ptr.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 109 of file shared_ptr.h.
|
inline |
Definition at line 107 of file shared_ptr.h.
|
inline |
|
inline |
Definition at line 113 of file shared_ptr.h.
|
friend |
Definition at line 143 of file shared_ptr.h.