Lines Matching defs:__ptr_
27 _Tp* __ptr_;
34 _Tp* __ptr_;
38 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) _NOEXCEPT : __ptr_(__p) {}
39 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {}
41 : __ptr_(__p.release()) {}
47 {reset(__p.__ptr_); return *this;}
48 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() _NOEXCEPT {delete __ptr_;}
51 {return *__ptr_;}
52 _LIBCPP_INLINE_VISIBILITY _Tp* operator->() const _NOEXCEPT {return __ptr_;}
53 _LIBCPP_INLINE_VISIBILITY _Tp* get() const _NOEXCEPT {return __ptr_;}
56 _Tp* __t = __ptr_;
57 __ptr_ = nullptr;
62 if (__ptr_ != __p)
63 delete __ptr_;
64 __ptr_ = __p;
67 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {}
69 {auto_ptr_ref<_Up> __t; __t.__ptr_ = release(); return __t;}