Lines Matching refs:__ptr_
26 _Tp* __ptr_; member
33 _Tp* __ptr_;
37 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) _NOEXCEPT : __ptr_(__p) {} in __ptr_() function
38 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {} in auto_ptr()
40 : __ptr_(__p.release()) {} in auto_ptr()
46 {reset(__p.__ptr_); return *this;}
47 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() _NOEXCEPT {delete __ptr_;} in ~auto_ptr() local
50 {return *__ptr_;}
51 _LIBCPP_INLINE_VISIBILITY _Tp* operator->() const _NOEXCEPT {return __ptr_;}
52 _LIBCPP_INLINE_VISIBILITY _Tp* get() const _NOEXCEPT {return __ptr_;} in get()
55 _Tp* __t = __ptr_; in release()
56 __ptr_ = nullptr; in release()
61 if (__ptr_ != __p)
62 delete __ptr_; variable
63 __ptr_ = __p;
66 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {} in auto_ptr()
68 {auto_ptr_ref<_Up> __t; __t.__ptr_ = release(); return __t;}