#include <auto_ptr.hpp>
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_ptr & | operator= (auto_ptr &other) throw () |
| template<typename source_element_type> | |
| auto_ptr & | operator= (auto_ptr< source_element_type > &other) throw () |
| auto_ptr & | operator= (auto_ptr_ref< element_type, false > other) throw () |
| auto_ptr & | operator= (auto_ptr_ref< element_type, true > other) throw () |
| element_type * | get () const throw () |
| element_type & | operator * () const throw () |
| element_type * | operator-> () const throw () |
| element_type * | release () throw () |
| void | reset (element_type *ptr=NULL) throw () |
| template<typename target_element_type> | |
| operator auto_ptr_ref () throw () | |
Private Attributes | |
| const void * | ptr_ |
| typedef T augment::auto_ptr< T >::element_type |
| augment::auto_ptr< T >::auto_ptr | ( | element_type * | ptr = NULL |
) | throw () [inline, explicit] |
| augment::auto_ptr< T >::auto_ptr | ( | auto_ptr< T > & | other | ) | throw () [inline] |
| augment::auto_ptr< T >::auto_ptr | ( | auto_ptr< source_element_type > & | other | ) | throw () [inline] |
| augment::auto_ptr< T >::auto_ptr | ( | auto_ptr_ref< element_type, false > | other | ) | throw () [inline] |
| augment::auto_ptr< T >::auto_ptr | ( | auto_ptr_ref< element_type, true > | other | ) | throw () [inline] |
| augment::auto_ptr< T >::~auto_ptr | ( | ) | throw () [inline] |
| auto_ptr& augment::auto_ptr< T >::operator= | ( | auto_ptr< T > & | other | ) | throw () [inline] |
| auto_ptr& augment::auto_ptr< T >::operator= | ( | auto_ptr< source_element_type > & | other | ) | throw () [inline] |
| auto_ptr& augment::auto_ptr< T >::operator= | ( | auto_ptr_ref< element_type, false > | other | ) | throw () [inline] |
| auto_ptr& augment::auto_ptr< T >::operator= | ( | auto_ptr_ref< element_type, true > | other | ) | throw () [inline] |
| element_type* augment::auto_ptr< T >::get | ( | ) | const throw () [inline] |
| element_type& augment::auto_ptr< T >::operator * | ( | ) | const throw () [inline] |
| element_type* augment::auto_ptr< T >::operator-> | ( | ) | const throw () [inline] |
| element_type* augment::auto_ptr< T >::release | ( | ) | throw () [inline] |
| void augment::auto_ptr< T >::reset | ( | element_type * | ptr = NULL |
) | throw () [inline] |
| augment::auto_ptr< T >::operator auto_ptr_ref | ( | ) | throw () [inline] |
const void* augment::auto_ptr< T >::ptr_ [private] |
1.5.2