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

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dauto_ptr.C1 template <typename Y> struct auto_ptr_ref { struct
3 auto_ptr_ref(Y* p) : py(p) {} function in struct:auto_ptr_ref
32 auto_ptr(auto_ptr_ref<X> r) throw() : px(r.py) {} // ERROR - candidate
33 template<typename Y> operator auto_ptr_ref<Y>() throw() {
34 return auto_ptr_ref<Y>(release());
/openbsd-current/gnu/llvm/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
66 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__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;}
/openbsd-current/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_memory.h130 * All the auto_ptr_ref stuff should happen behind the scenes.
133 struct auto_ptr_ref struct
138 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } function in struct:auto_ptr_ref
341 * These operations convert an %auto_ptr into and from an auto_ptr_ref
349 auto_ptr(auto_ptr_ref<element_type> __ref) throw()
353 operator=(auto_ptr_ref<element_type> __ref) throw()
364 operator auto_ptr_ref<_Tp1>() throw()
365 { return auto_ptr_ref<_Tp1>(this->release()); }
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_memory.h125 * All the auto_ptr_ref stuff should happen behind the scenes.
128 struct auto_ptr_ref struct in namespace:std
133 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } function in struct:std::auto_ptr_ref
325 * These operations convert an %auto_ptr into and from an auto_ptr_ref
333 auto_ptr(auto_ptr_ref<element_type> __ref) throw()
337 operator=(auto_ptr_ref<element_type> __ref) throw()
348 operator auto_ptr_ref<_Tp1>() throw()
349 { return auto_ptr_ref<_Tp1>(this->release()); }

Completed in 121 milliseconds