19#ifndef _STLP_AUTO_PTR_H
20#define _STLP_AUTO_PTR_H
54 _Tp* __px = this->
get();
60 _Tp* __pt = this->
get();
67#if !defined (__GNUC__) || (__GNUC__ > 2)
73#if !defined (_STLP_NO_ARROW_OPERATOR)
86#if defined (_STLP_MEMBER_TEMPLATES)
87# if !defined (_STLP_NO_TEMPLATE_CONVERSIONS)
89 _Tp* __conversionCheck = __r.release();
90 this->
__set(__conversionCheck);
94 _Tp* __conversionCheck = __r.release();
95 reset(__conversionCheck);
103 reset(__r.release());
110 { this->
__set(__r.release()); }
113 reset(__r.release());
117#if defined(_STLP_MEMBER_TEMPLATES) && !defined(_STLP_NO_TEMPLATE_CONVERSIONS)
#define _STLP_VERBOSE_ASSERT(expr, diagnostic)
void __set(const volatile void *p)
auto_ptr_ref(__ptr_base &__r, _Tp *__p)
auto_ptr_ref< _Tp > _Self
_Self & operator=(_Self const &)
_Self & operator=(_Self &__r) _STLP_NOTHROW
_Tp * operator->() const _STLP_NOTHROW
auto_ptr(_Tp *__px=0) _STLP_NOTHROW
auto_ptr(_Self &__r) _STLP_NOTHROW
void reset(_Tp *__px=0) _STLP_NOTHROW
auto_ptr(auto_ptr_ref< _Tp > __r) _STLP_NOTHROW
_Tp * get() const _STLP_NOTHROW
_Tp & operator*() const _STLP_NOTHROW
_Self & operator=(auto_ptr_ref< _Tp > __r) _STLP_NOTHROW
~auto_ptr() _STLP_NOTHROW
_Tp * release() _STLP_NOTHROW
#define __REINTERPRET_CAST(__x, __y)
#define __STATIC_CAST(__x, __y)
#define __CONST_CAST(__x, __y)
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE