auto_ptr Class Reference

#include <stdapis/stlport/stl/_auto_ptr.h>

class auto_ptr : public __ptr_base

Inherits from

Public Member Type Definitions
typedef auto_ptr< _Tp > _Self
typedef_Tp element_type
Public Member Functions
auto_ptr()
auto_ptr(_Tp *)
auto_ptr(_Self &)
auto_ptr(auto_ptr_ref< _Tp >)
~auto_ptr()
_Tp *get()
operator auto_ptr_ref< _Tp >()
_Tp &operator*()
_Tp *operator->()
_Self &operator=(_Self &)
_Self &operator=(auto_ptr_ref< _Tp >)
_Self &operator=(_Tp *)
_Tp *release()
voidreset(_Tp *)
Inherited Attributes
__ptr_base::_M_p
Inherited Functions
__ptr_base::__set(const void *)
__ptr_base::__set(void *)

Member Type Definition Documentation

Typedef _Self

typedef auto_ptr< _Tp >_Self

Typedef element_type

typedef _Tpelement_type

Constructor & Destructor Documentation

auto_ptr ( )

auto_ptr()[inline]

auto_ptr ( _Tp * )

auto_ptr(_Tp *__px)[inline, explicit]

auto_ptr ( _Self & )

auto_ptr(_Self &__r)[inline]

auto_ptr ( auto_ptr_ref< _Tp > )

auto_ptr(auto_ptr_ref< _Tp >__r)[inline]

~auto_ptr ( )

~auto_ptr()[inline]

Member Function Documentation

get ( )

_Tp *get()const [inline]

operator auto_ptr_ref< _Tp > ( )

operator auto_ptr_ref< _Tp >()[inline]

operator* ( )

_Tp &operator*()const [inline]

operator-> ( )

_Tp *operator->()const [inline]

operator= ( _Self & )

_Self &operator=(_Self &__r)[inline]

operator= ( auto_ptr_ref< _Tp > )

_Self &operator=(auto_ptr_ref< _Tp >__r)[inline]

operator= ( _Tp * )

_Self &operator=(_Tp *__px)[inline]

release ( )

_Tp *release()[inline]

reset ( _Tp * )

voidreset(_Tp *__px = 0)[inline]