TPIE

v1.1rc1-6-g0c97303
tpie::auto_ptr< T > Class Template Reference

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_ptroperator= (auto_ptr &o) throw ()
 
template<class Y >
auto_ptroperator= (auto_ptr< Y > &o) throw ()
 
auto_ptroperator= (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 ()
 

Detailed Description

template<typename T>
class tpie::auto_ptr< T >

like std::auto_ptr, but delete the object with tpie_delete.

Template Parameters
Tthe type of the object.

Definition at line 416 of file memory.h.


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