Crypto++  8.8
Free C++ class library of cryptographic schemes
Public Member Functions | List of all members
clonable_ptr< T > Class Template Reference

A pointer which can be copied and cloned. More...

+ Inheritance diagram for clonable_ptr< T >:

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)
 

Detailed Description

template<class T>
class clonable_ptr< T >

A pointer which can be copied and cloned.

Template Parameters
Tclass or type

T should adhere to the Clonable interface

Definition at line 104 of file smartptr.h.


The documentation for this class was generated from the following file: