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 struct45 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) _NOEXCEPT argument66 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {} in auto_ptr()67 template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr_ref<_Up>() _NOEXCEPT68 {auto_ptr_ref<_Up> __t; __t.__ptr_ = release(); return __t;}
267 struct auto_ptr_ref { }; struct270 auto_ptr(auto_ptr_ref);273 operator auto_ptr_ref();
32 typedef std::auto_ptr_ref<int> APR; // expected-warning {{'auto_ptr_ref<int>' is deprecated}} in main()
29 std::auto_ptr_ref<A> apr = ap1; in test()
30 std::auto_ptr_ref<A> apr = ap1; in test()
378 template <class Y> struct auto_ptr_ref {}; // deprecated in C++11, removed in C++17391 auto_ptr& operator=(auto_ptr_ref<X> r) throw();400 auto_ptr(auto_ptr_ref<X>) throw();401 template<class Y> operator auto_ptr_ref<Y>() throw();