Fabcoin Core
0.16.2
P2P Digital Currency
|
A pointer which can be copied and cloned. More...
#include <smartptr.h>
Public Member Functions | |
clonable_ptr (const T &obj) | |
clonable_ptr (T *p=NULL) | |
clonable_ptr (const clonable_ptr< T > &rhs) | |
clonable_ptr< T > & | operator= (const clonable_ptr< T > &rhs) |
Public Member Functions inherited from member_ptr< T > | |
member_ptr (T *p=NULL) | |
~member_ptr () | |
const T & | operator* () const |
T & | operator* () |
const T * | operator-> () const |
T * | operator-> () |
const T * | get () const |
T * | get () |
T * | release () |
void | reset (T *p=0) |
Additional Inherited Members | |
Protected Member Functions inherited from member_ptr< T > | |
member_ptr (const member_ptr< T > &rhs) | |
void | operator= (const member_ptr< T > &rhs) |
Protected Attributes inherited from member_ptr< T > | |
T * | m_p |
A pointer which can be copied and cloned.
T | class or type |
T
should adhere to the Clonable
interface
Definition at line 108 of file smartptr.h.
|
inline |
Definition at line 111 of file smartptr.h.
|
inline |
Definition at line 112 of file smartptr.h.
|
inline |
Definition at line 113 of file smartptr.h.
clonable_ptr< T > & clonable_ptr< T >::operator= | ( | const clonable_ptr< T > & | rhs | ) |
Definition at line 119 of file smartptr.h.