Searched defs:auto_ptr (Results 1 – 4 of 4) sorted by relevance
5 template<typename X> struct auto_ptr { struct10 explicit auto_ptr(X* p =0) throw() : px(p) {} in throw() argument11 auto_ptr(auto_ptr& r) throw() : px(r.release()) {} // ERROR - candidate in throw() argument13 auto_ptr(auto_ptr<Y>& r) throw() : px(r.release()) {}// ERROR - candidate in auto_ptr() argument15 auto_ptr& operator=(auto_ptr& r) throw() { in throw() argument19 template<typename Y> auto_ptr& operator=(auto_ptr<Y>& r) throw() { in throw() argument24 ~auto_ptr() { delete px; } in ~auto_ptr() argument32 auto_ptr(auto_ptr_ref<X> r) throw() : px(r.py) {} // ERROR - candidate in throw() argument33 template<typename Y> operator auto_ptr_ref<Y>() throw() { in throw() argument36 template<typename Y> operator auto_ptr<Y>() throw() { in auto_ptr() function
38 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {} in auto_ptr() function39 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) _NOEXCEPT in auto_ptr() function66 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {} in auto_ptr() function
204 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in auto_ptr() function
212 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in auto_ptr() function