Zen C++ Libraries
Zero-dependency re-usable components for C++
Loading...
Searching...
No Matches
clone_ptr< T, ClonerT > Class Template Reference

Public Member Functions

 clone_ptr (T *ptr, ClonerT cloner=default_cloner< T * > {})
 clone_ptr (const clone_ptr &other)
 clone_ptr (clone_ptr &&other)
clone_ptroperator= (const clone_ptr &other)
clone_ptroperator= (clone_ptr &&other)
template<typename T2, typename ClonerT2>
 clone_ptr (const clone_ptr< T2, ClonerT2 > &other)
template<typename T2, typename ClonerT2>
 clone_ptr (clone_ptr< T2, ClonerT2 > &&other)
template<typename T2, typename ClonerT2>
clone_ptroperator= (const clone_ptr< T2, ClonerT2 > &other)
template<typename T2, typename ClonerT2>
clone_ptroperator= (clone_ptr< T2, ClonerT2 > &&other)
T * get ()
const T * get () const
T * release ()
T & operator* ()
const T & operator* () const
T * operator-> ()
const T * operator-> () const

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