Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
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) | |
const T & | operator* () const |
T & | operator* () |
const T * | operator-> () const |
T * | operator-> () |
const T * | get () const |
T * | get () |
T * | release () |
void | reset (T *p=NULL) |
A pointer which can be copied and cloned.
T | class or type |
T
should adhere to the Clonable
interface
Definition at line 104 of file smartptr.h.
|
inline |
Definition at line 107 of file smartptr.h.
|
inline |
Definition at line 108 of file smartptr.h.
|
inline |
Definition at line 109 of file smartptr.h.
clonable_ptr< T > & clonable_ptr< T >::operator= | ( | const clonable_ptr< T > & | rhs | ) |
Definition at line 115 of file smartptr.h.