augment::auto_ptr< T > Class Template Reference

#include <auto_ptr.hpp>

List of all members.

Public Types

typedef T element_type

Public Member Functions

 auto_ptr (element_type *ptr=NULL) throw ()
 auto_ptr (auto_ptr &other) throw ()
template<typename source_element_type>
 auto_ptr (auto_ptr< source_element_type > &other) throw ()
 auto_ptr (auto_ptr_ref< element_type, false > other) throw ()
 auto_ptr (auto_ptr_ref< element_type, true > other) throw ()
 ~auto_ptr () throw ()
auto_ptroperator= (auto_ptr &other) throw ()
template<typename source_element_type>
auto_ptroperator= (auto_ptr< source_element_type > &other) throw ()
auto_ptroperator= (auto_ptr_ref< element_type, false > other) throw ()
auto_ptroperator= (auto_ptr_ref< element_type, true > other) throw ()
element_typeget () const throw ()
element_typeoperator * () const throw ()
element_typeoperator-> () const throw ()
element_typerelease () throw ()
void reset (element_type *ptr=NULL) throw ()
template<typename target_element_type>
 operator auto_ptr_ref () throw ()

Private Attributes

const void * ptr_

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


Member Typedef Documentation

template<typename T>
typedef T augment::auto_ptr< T >::element_type


Constructor & Destructor Documentation

template<typename T>
augment::auto_ptr< T >::auto_ptr ( element_type ptr = NULL  )  throw () [inline, explicit]

template<typename T>
augment::auto_ptr< T >::auto_ptr ( auto_ptr< T > &  other  )  throw () [inline]

template<typename T>
template<typename source_element_type>
augment::auto_ptr< T >::auto_ptr ( auto_ptr< source_element_type > &  other  )  throw () [inline]

template<typename T>
augment::auto_ptr< T >::auto_ptr ( auto_ptr_ref< element_type, false >  other  )  throw () [inline]

template<typename T>
augment::auto_ptr< T >::auto_ptr ( auto_ptr_ref< element_type, true >  other  )  throw () [inline]

template<typename T>
augment::auto_ptr< T >::~auto_ptr (  )  throw () [inline]


Member Function Documentation

template<typename T>
auto_ptr& augment::auto_ptr< T >::operator= ( auto_ptr< T > &  other  )  throw () [inline]

template<typename T>
template<typename source_element_type>
auto_ptr& augment::auto_ptr< T >::operator= ( auto_ptr< source_element_type > &  other  )  throw () [inline]

template<typename T>
auto_ptr& augment::auto_ptr< T >::operator= ( auto_ptr_ref< element_type, false >  other  )  throw () [inline]

template<typename T>
auto_ptr& augment::auto_ptr< T >::operator= ( auto_ptr_ref< element_type, true >  other  )  throw () [inline]

template<typename T>
element_type* augment::auto_ptr< T >::get (  )  const throw () [inline]

template<typename T>
element_type& augment::auto_ptr< T >::operator * (  )  const throw () [inline]

template<typename T>
element_type* augment::auto_ptr< T >::operator-> (  )  const throw () [inline]

template<typename T>
element_type* augment::auto_ptr< T >::release (  )  throw () [inline]

template<typename T>
void augment::auto_ptr< T >::reset ( element_type ptr = NULL  )  throw () [inline]

template<typename T>
template<typename target_element_type>
augment::auto_ptr< T >::operator auto_ptr_ref (  )  throw () [inline]


Member Data Documentation

template<typename T>
const void* augment::auto_ptr< T >::ptr_ [private]


The documentation for this class was generated from the following file:
Generated on Wed Aug 8 03:46:47 2007 for Shareaza by  doxygen 1.5.2