Lines Matching refs:auto_ptr

218 class auto_ptr                                  // deprecated in C++11, removed in C++17
223 explicit auto_ptr(X* p =0) throw();
224 auto_ptr(auto_ptr&) throw();
225 template<class Y> auto_ptr(auto_ptr<Y>&) throw();
226 auto_ptr& operator=(auto_ptr&) throw();
227 template<class Y> auto_ptr& operator=(auto_ptr<Y>&) throw();
228 auto_ptr& operator=(auto_ptr_ref<X> r) throw();
229 ~auto_ptr() throw();
237 auto_ptr(auto_ptr_ref<X>) throw();
239 template<class Y> operator auto_ptr<Y>() throw();
277 unique_ptr(auto_ptr<U>&& u) noexcept; // removed in C++17
414 template<class Y> shared_ptr(auto_ptr<Y>&& r); // removed in C++17
426 template<class Y> shared_ptr& operator=(auto_ptr<Y>&& r); // removed in C++17
2080 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
2087 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) throw() : __ptr_(__p) {}
2088 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) throw() : __ptr_(__p.release()) {}
2089 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) throw()
2091 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr& __p) throw()
2093 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr<_Up>& __p) throw()
2095 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) throw()
2097 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() throw() {delete __ptr_;}
2116 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) throw() : __ptr_(__p.__ptr_) {}
2119 template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr<_Up>() throw()
2120 {return auto_ptr<_Up>(release());}
2124 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr<void>
2509 unique_ptr(auto_ptr<_Up>&& __p,
2599 operator=(auto_ptr<_Up> __p) {
3789 shared_ptr(auto_ptr<_Yp>&& __r,
3793 shared_ptr(auto_ptr<_Yp> __r,
3869 operator=(auto_ptr<_Yp>&& __r);
3881 operator=(auto_ptr<_Yp> __r);
4242 shared_ptr<_Tp>::shared_ptr(auto_ptr<_Yp>&& __r,
4244 shared_ptr<_Tp>::shared_ptr(auto_ptr<_Yp> __r,
4583 shared_ptr<_Tp>::operator=(auto_ptr<_Yp>&& __r)
4618 shared_ptr<_Tp>::operator=(auto_ptr<_Yp> __r)