Home
last modified time | relevance | path

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

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/replace-auto-ptr/
H A Dmemory.h8 template <class Y> struct auto_ptr_ref { struct
22 auto_ptr &operator=(auto_ptr_ref<X> r) throw() { return *this; } in throw() argument
24 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()
/llvm-project/libcxx/include/__memory/
H A Dauto_ptr.h24 struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref { struct
49 _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;
/llvm-project/clang/test/SemaCXX/
H A Dconversion-function.cpp267 struct auto_ptr_ref { }; struct
270 auto_ptr(auto_ptr_ref);
273 operator auto_ptr_ref();
/llvm-project/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/
H A Dauto_ptr.depr_in_cxx11.verify.cpp30 typedef std::auto_ptr_ref<int> APR; // expected-warning {{'auto_ptr_ref<int>' is deprecated}}
/llvm-project/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
H A Dconvert_to_auto_ptr_ref.pass.cpp29 std::auto_ptr_ref<A> apr = ap1; in test()
H A Dconvert_from_auto_ptr_ref.pass.cpp30 std::auto_ptr_ref<A> apr = ap1; in test()
H A Dassign_from_auto_ptr_ref.pass.cpp30 std::auto_ptr_ref<A> apr = ap1; in test()
/llvm-project/libcxx/include/
H A Dmemory379 template <class Y> struct auto_ptr_ref {}; // deprecated in C++11, removed in C++17
392 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();