NIM 跨平台 C++ SDK
|
#include <ne_stl_smart_ptr.h>
Public 成员函数 | |
_weak_ptr () | |
_weak_ptr (const _weak_ptr &wp) | |
_weak_ptr (const _shared_ptr< T > &sp) | |
~_weak_ptr () | |
_weak_ptr & | operator= (const _weak_ptr &wp) |
_shared_ptr< T > | lock () const |
bool | expired () const |
void | reset () |
Private 成员函数 | |
void | dec_weak_count () |
Private 属性 | |
T * | data_ |
nstd::cblock * | cblock_ |
void(* | release_ )(T *&pdata) |
void(* | release_block_ )(nstd::cblock *&pdata) |
友元 | |
template<class Y > | |
class | _shared_ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |