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

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/overload/
H A Dautoptr1.C6 struct auto_ptr_ref { }; struct in class:auto_ptr
9 auto_ptr(auto_ptr_ref);
11 operator auto_ptr_ref();
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.pt/
H A Dauto_ptr.C2 template <typename Y> struct auto_ptr_ref { struct
4 auto_ptr_ref(Y* p) : py(p) {} function in struct:auto_ptr_ref
33 auto_ptr(auto_ptr_ref<X> r) throw() : px(r.py) {} // { dg-message "candidate" }
34 template<typename Y> operator auto_ptr_ref<Y>() throw() {
35 return auto_ptr_ref<Y>(release());
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.pt/
H A Dauto_ptr.C2 template <typename Y> struct auto_ptr_ref { struct
4 auto_ptr_ref(Y* p) : py(p) {} function in struct:auto_ptr_ref
33 auto_ptr(auto_ptr_ref<X> r) throw() : px(r.py) {} // { dg-error "" } candidate
34 template<typename Y> operator auto_ptr_ref<Y>() throw() {
35 return auto_ptr_ref<Y>(release());
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/include/backward/
H A Dauto_ptr.h43 * All the auto_ptr_ref stuff should happen behind the scenes.
46 struct auto_ptr_ref struct
51 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } function in struct:auto_ptr_ref
250 * These operations convert an %auto_ptr into and from an auto_ptr_ref
258 auto_ptr(auto_ptr_ref<element_type> __ref) throw()
262 operator=(auto_ptr_ref<element_type> __ref) throw()
273 operator auto_ptr_ref<_Tp1>() throw()
274 { return auto_ptr_ref<_Tp1>(this->release()); }
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/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 in namespace:std
138 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } function in struct:std::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()); }

Completed in 149 milliseconds