like std::auto_ptr, but delete the object with tpie_delete. More...
#include <tpie/memory.h>
Public Types | |
typedef T | element_type |
Public Member Functions | |
auto_ptr (T *o=0) throw () | |
auto_ptr (auto_ptr &o) throw () | |
template<class Y > | |
auto_ptr (auto_ptr< Y > &o) throw () | |
auto_ptr & | operator= (auto_ptr &o) throw () |
template<class Y > | |
auto_ptr & | operator= (auto_ptr< Y > &o) throw () |
auto_ptr & | operator= (auto_ptr_ref< T > r) throw () |
T & | operator* () const throw () |
T * | operator-> () const throw () |
T * | get () const throw () |
T * | release () throw () |
void | reset (T *o=0) throw () |
auto_ptr (auto_ptr_ref< T > r) throw () | |
template<class Y > | |
operator auto_ptr_ref< Y > () throw () | |
template<class Y > | |
operator auto_ptr< Y > () throw () | |
like std::auto_ptr, but delete the object with tpie_delete.
T | the type of the object. |