Searched refs:auto_ptr_ref (Results 1 – 8 of 8) sorted by relevance
8 template <class Y> struct auto_ptr_ref { struct22 auto_ptr &operator=(auto_ptr_ref<X> r) throw() { return *this; } in throw() argument24 auto_ptr(auto_ptr_ref<X> r) throw() : x_(r.y_) {} in throw()25 template <class Y> operator auto_ptr_ref<Y>() throw() { in throw()26 auto_ptr_ref<Y> r; in throw()
24 struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref { struct49 _LIBCPP_HIDE_FROM_ABI auto_ptr& operator=(auto_ptr_ref<_Tp> __p) _NOEXCEPT {69 _LIBCPP_HIDE_FROM_ABI auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {} in auto_ptr()71 _LIBCPP_HIDE_FROM_ABI operator auto_ptr_ref<_Up>() _NOEXCEPT {72 auto_ptr_ref<_Up> __t;
267 struct auto_ptr_ref { }; struct 270 auto_ptr(auto_ptr_ref);273 operator auto_ptr_ref();
30 typedef std::auto_ptr_ref<int> APR; // expected-warning {{'auto_ptr_ref<int>' is deprecated}}
29 std::auto_ptr_ref<A> apr = ap1; in test()
30 std::auto_ptr_ref<A> apr = ap1; in test()
379 template <class Y> struct auto_ptr_ref {}; // deprecated in C++11, removed in C++17392 auto_ptr& operator=(auto_ptr_ref<X> r) throw();401 auto_ptr(auto_ptr_ref<X>) throw();402 template<class Y> operator auto_ptr_ref<Y>() throw();