Home
last modified time | relevance | path

Searched refs:auto_ptr_ref (Results 1 – 6 of 6) sorted by relevance

/external/clang/test/SemaCXX/
Dconversion-function.cpp249 struct auto_ptr_ref { }; struct
252 auto_ptr(auto_ptr_ref);
255 operator auto_ptr_ref();
/external/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/
Dauto_ptr.depr_in_cxx11.fail.cpp38 typedef std::auto_ptr_ref<int> APR; // expected-error{{'auto_ptr_ref<int>' is deprecated}} in main()
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
Dconvert_to_auto_ptr_ref.pass.cpp28 std::auto_ptr_ref<A> apr = ap1; in test()
Dconvert_from_auto_ptr_ref.pass.cpp29 std::auto_ptr_ref<A> apr = ap1; in test()
Dassign_from_auto_ptr_ref.pass.cpp29 std::auto_ptr_ref<A> apr = ap1; in test()
/external/libcxx/include/
Dmemory215 template <class Y> struct auto_ptr_ref {}; // deprecated in C++11, removed in C++17
228 auto_ptr& operator=(auto_ptr_ref<X> r) throw();
237 auto_ptr(auto_ptr_ref<X>) throw();
238 template<class Y> operator auto_ptr_ref<Y>() throw();
2074 struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref
2095 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) throw()
2116 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) throw() : __ptr_(__p.__ptr_) {}
2117 template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr_ref<_Up>() throw()
2118 {auto_ptr_ref<_Up> __t; __t.__ptr_ = release(); return __t;}