Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libstdc++/include/std/
H A Dstd_memory.h133 struct auto_ptr_ref struct
138 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } in auto_ptr_ref() argument
349 auto_ptr(auto_ptr_ref<element_type> __ref) throw() in throw()
353 operator=(auto_ptr_ref<element_type> __ref) throw() in throw()
364 operator auto_ptr_ref<_Tp1>() throw() in throw()
365 { return auto_ptr_ref<_Tp1>(this->release()); } in throw()
/freebsd-12.1/contrib/libc++/include/
H A 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;}
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-20003294 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
3304 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
3306 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
3307 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
H A DChangeLog-20022260 (auto_ptr::operator auto_ptr_ref): Fix typo.