Home
last modified time | relevance | path

Searched refs:auto_ptr (Results 1 – 25 of 143) sorted by relevance

123456

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/backward/
H A Dauto_ptr.h93 class auto_ptr in _GLIBCXX_VISIBILITY()
109 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
118 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
131 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
141 auto_ptr& in _GLIBCXX_VISIBILITY()
142 operator=(auto_ptr& __a) throw() in _GLIBCXX_VISIBILITY()
159 auto_ptr& in _GLIBCXX_VISIBILITY()
160 operator=(auto_ptr<_Tp1>& __a) throw() in _GLIBCXX_VISIBILITY()
176 ~auto_ptr() { delete _M_ptr; } in _GLIBCXX_VISIBILITY()
270 auto_ptr(auto_ptr_ref<element_type> __ref) throw() in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/backward/
H A Dauto_ptr.h89 class auto_ptr in _GLIBCXX_VISIBILITY()
105 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
114 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
127 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
137 auto_ptr& in _GLIBCXX_VISIBILITY()
138 operator=(auto_ptr& __a) throw() in _GLIBCXX_VISIBILITY()
155 auto_ptr& in _GLIBCXX_VISIBILITY()
156 operator=(auto_ptr<_Tp1>& __a) throw() in _GLIBCXX_VISIBILITY()
172 ~auto_ptr() { delete _M_ptr; } in _GLIBCXX_VISIBILITY()
266 auto_ptr(auto_ptr_ref<element_type> __ref) throw() in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/include/__memory/
H A Dauto_ptr.h31 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr
38 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) _NOEXCEPT : __ptr_(__p) {} in __ptr_()
39 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {} in auto_ptr() function
40 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) _NOEXCEPT in auto_ptr() function
42 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr& __p) _NOEXCEPT
44 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr<_Up>& __p) _NOEXCEPT
46 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) _NOEXCEPT
48 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() _NOEXCEPT {delete __ptr_;} in ~auto_ptr()
67 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {} in auto_ptr() function
70 template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr<_Up>() _NOEXCEPT
[all …]
H A Dunique_ptr.h225 unique_ptr(auto_ptr<_Up>&& __p,
256 operator=(auto_ptr<_Up> __p) {
H A Dshared_ptr.h483 shared_ptr(auto_ptr<_Yp>&& __r,
534 operator=(auto_ptr<_Yp>&& __r);
887 shared_ptr<_Tp>::shared_ptr(auto_ptr<_Yp>&& __r,
1013 shared_ptr<_Tp>::operator=(auto_ptr<_Yp>&& __r)
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dmemory225 class auto_ptr // deprecated in C++11, removed in C++17
230 explicit auto_ptr(X* p =0) throw();
231 auto_ptr(auto_ptr&) throw();
232 template<class Y> auto_ptr(auto_ptr<Y>&) throw();
233 auto_ptr& operator=(auto_ptr&) throw();
234 template<class Y> auto_ptr& operator=(auto_ptr<Y>&) throw();
235 auto_ptr& operator=(auto_ptr_ref<X> r) throw();
236 ~auto_ptr() throw();
244 auto_ptr(auto_ptr_ref<X>) throw();
246 template<class Y> operator auto_ptr<Y>() throw();
[all …]
H A DCMakeLists.txt25 __memory/auto_ptr.h
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/
H A Dshared_ptr.h327 __shared_count(std::auto_ptr<_Tp>& __r) in _GLIBCXX_VISIBILITY()
589 __shared_ptr(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
634 operator=(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1011 shared_ptr(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1038 operator=(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
H A Dshared_ptr.h330 __shared_count(std::auto_ptr<_Tp>& __r) in _GLIBCXX_VISIBILITY()
596 __shared_ptr(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
643 operator=(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1023 shared_ptr(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
1053 operator=(std::auto_ptr<_Tp1>& __r) in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dshared_ptr.h330 template<typename _Yp, typename = _Constructible<auto_ptr<_Yp>>> in _GLIBCXX_VISIBILITY()
331 shared_ptr(auto_ptr<_Yp>&& __r); in _GLIBCXX_VISIBILITY()
372 _Assignable<auto_ptr<_Yp>> in _GLIBCXX_VISIBILITY()
373 operator=(auto_ptr<_Yp>&& __r) in _GLIBCXX_VISIBILITY()
H A Dshared_ptr_base.h68 template<typename> class auto_ptr; in _GLIBCXX_VISIBILITY() local
695 __shared_count(std::auto_ptr<_Tp>&& __r); in _GLIBCXX_VISIBILITY()
1253 __shared_ptr(auto_ptr<_Yp>&& __r); in _GLIBCXX_VISIBILITY()
1273 operator=(auto_ptr<_Yp>&& __r) in _GLIBCXX_VISIBILITY()
H A Dunique_ptr.h57 template<typename> class auto_ptr; in _GLIBCXX_VISIBILITY() local
350 unique_ptr(auto_ptr<_Up>&& __u) noexcept; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dshared_ptr.h386 template<typename _Yp, typename = _Constructible<auto_ptr<_Yp>>> in _GLIBCXX_VISIBILITY()
387 shared_ptr(auto_ptr<_Yp>&& __r); in _GLIBCXX_VISIBILITY()
428 _Assignable<auto_ptr<_Yp>> in _GLIBCXX_VISIBILITY()
429 operator=(auto_ptr<_Yp>&& __r) in _GLIBCXX_VISIBILITY()
H A Dshared_ptr_base.h77 template<typename> class auto_ptr; in _GLIBCXX_VISIBILITY() local
1029 __shared_count(std::auto_ptr<_Tp>&& __r); in _GLIBCXX_VISIBILITY()
1589 __shared_ptr(auto_ptr<_Yp>&& __r); in _GLIBCXX_VISIBILITY()
1609 operator=(auto_ptr<_Yp>&& __r) in _GLIBCXX_VISIBILITY()
H A Dunique_ptr.h64 template<typename> class auto_ptr; in _GLIBCXX_VISIBILITY() local
389 unique_ptr(auto_ptr<_Up>&& __u) noexcept; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/bsd/libc++/include/
H A DMakefile171 __memory/auto_ptr.h \
/netbsd-src/external/apache2/llvm/dist/libcxx/docs/
H A DUsingLibcxx.rst213 using `std::auto_ptr` when compiling in C++11 mode will normally trigger a
214 warning saying that `std::auto_ptr` is deprecated. If the macro is defined,
228 This macro is used to re-enable `std::auto_ptr` in C++17.
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/gnu/
H A Dc_locale.cc205 auto_ptr<Catalog_info> info(new Catalog_info(_M_catalog_counter++, in _M_add()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/config/locale/gnu/
H A Dc_locale.cc205 auto_ptr<Catalog_info> info(new Catalog_info(_M_catalog_counter++, in _M_add()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dmemory81 # include <backward/auto_ptr.h>
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dmemory87 # include <backward/auto_ptr.h>
90 # include <backward/auto_ptr.h>
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/
H A Dshared_ptr.h143 shared_ptr(std::auto_ptr<_Tp1>&& __r) in _GLIBCXX_VISIBILITY()
197 operator=(std::auto_ptr<_Tp1>&& __r) in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/
H A Dshared_ptr.h143 shared_ptr(std::auto_ptr<_Tp1>&& __r) in _GLIBCXX_VISIBILITY()
197 operator=(std::auto_ptr<_Tp1>&& __r) in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn85 "__memory/auto_ptr.h",
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-2007200 * testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise.
208 * testsuite/20_util/shared_ptr/cons/auto_ptr.cc: Likewise.
883 * include/backward/auto_ptr.h: Same.
1194 * includse/backward/auto_ptr.h: ...here.
1199 * include/tr1_impl/boost_shared_ptr.h: Guard auto_ptr usage.
4167 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line
6177 * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error
6542 * testsuite/20_util/auto_ptr/assign_neg.cc: Likewise.
6789 * 20_util/auto_ptr
6842 * 20_util/memory/auto_ptr
[all …]

123456