auto_ptr< _Tp > Class Template Reference#include <_auto_ptr.h>
Inheritance diagram for auto_ptr< _Tp >: ![]()
Detailed Descriptiontemplate<class _Tp>
|
typedef _Tp auto_ptr< _Tp >::element_type |
Definition at line 50 of file _auto_ptr.h.
Definition at line 51 of file _auto_ptr.h.
auto_ptr< _Tp >::auto_ptr | ( | auto_ptr_ref< _Tp > | __r | ) | [inline] |
_Tp* auto_ptr< _Tp >::release | ( | ) | [inline] |
void auto_ptr< _Tp >::reset | ( | _Tp * | __px = 0 |
) | [inline] |
Definition at line 59 of file _auto_ptr.h.
References __ptr_base::__set(), and auto_ptr< _Tp >::get().
Referenced by auto_ptr< _Tp >::operator=().
_Tp* auto_ptr< _Tp >::get | ( | ) | const [inline] |
Definition at line 66 of file _auto_ptr.h.
References __CONST_CAST, __REINTERPRET_CAST, and __ptr_base::_M_p.
Referenced by auto_ptr< _Tp >::operator *(), auto_ptr< _Tp >::operator auto_ptr_ref(), auto_ptr< _Tp >::operator->(), auto_ptr< _Tp >::release(), auto_ptr< _Tp >::reset(), and auto_ptr< _Tp >::~auto_ptr().
_Tp* auto_ptr< _Tp >::operator-> | ( | ) | const [inline] |
Definition at line 70 of file _auto_ptr.h.
References _STLP_VERBOSE_ASSERT, and auto_ptr< _Tp >::get().
_Tp& auto_ptr< _Tp >::operator * | ( | ) | const [inline] |
Definition at line 75 of file _auto_ptr.h.
References _STLP_VERBOSE_ASSERT, and auto_ptr< _Tp >::get().
_Self& auto_ptr< _Tp >::operator= | ( | auto_ptr_ref< _Tp > | __r | ) | [inline] |
auto_ptr< _Tp >::operator auto_ptr_ref | ( | ) | [inline] |