Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/libcxx/include/__memory/
H A Dauto_ptr.h24 struct _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr_ref struct
45 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) _NOEXCEPT argument
66 _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>() _NOEXCEPT
68 {auto_ptr_ref<_Up> __t; __t.__ptr_ = release(); return __t;}
/llvm-project-15.0.7/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-15.0.7/libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/
H A Dauto_ptr.depr_in_cxx11.verify.cpp32 typedef std::auto_ptr_ref<int> APR; // expected-warning {{'auto_ptr_ref<int>' is deprecated}} in main()
/llvm-project-15.0.7/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-15.0.7/libcxx/include/
H A Dmemory378 template <class Y> struct auto_ptr_ref {}; // deprecated in C++11, removed in C++17
391 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();