Searched refs:auto_ptr (Results 1 – 18 of 18) sorted by relevance
174 class auto_ptr199 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in throw()212 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in auto_ptr() function222 auto_ptr&223 operator=(auto_ptr& __a) throw() in throw()240 auto_ptr&241 operator=(auto_ptr<_Tp1>& __a) throw() in throw()259 ~auto_ptr() { delete _M_ptr; } in ~auto_ptr()352 auto_ptr&368 operator auto_ptr<_Tp1>() throw() in throw()[all …]
55 std::auto_ptr< atf::check::check_result >68 std::auto_ptr< atf::check::check_result >251 std::auto_ptr< atf::fs::path > out; in ATF_TEST_CASE_BODY()252 std::auto_ptr< atf::fs::path > err; in ATF_TEST_CASE_BODY()255 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()275 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()283 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()291 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()324 std::auto_ptr< atf::check::check_result > r1 = in ATF_TEST_CASE_BODY()329 std::auto_ptr< atf::check::check_result > r2 = in ATF_TEST_CASE_BODY()[all …]
74 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);123 std::auto_ptr< check_result > exec(const atf::process::argv_array&);
144 std::auto_ptr< impl::check_result >153 return std::auto_ptr< impl::check_result >(new impl::check_result(&result)); in exec()
76 std::auto_ptr< tc_impl > pimpl;
199 std::auto_ptr< argv_array > argv1(new argv_array(carray1)); in ATF_TEST_CASE_BODY()200 std::auto_ptr< argv_array > argv2(new argv_array(carray2)); in ATF_TEST_CASE_BODY()229 std::auto_ptr< argv_array > argv1(new argv_array(carray)); in ATF_TEST_CASE_BODY()230 std::auto_ptr< argv_array > argv2(new argv_array(*argv1)); in ATF_TEST_CASE_BODY()
106 std::auto_ptr< atf::fs::path > m_path;329 std::auto_ptr< atf::check::check_result >345 std::auto_ptr< atf::check::check_result >806 std::auto_ptr< atf::check::check_result > r = in main()
224 auto_ptr(auto_ptr&) throw();225 template<class Y> auto_ptr(auto_ptr<Y>&) throw();226 auto_ptr& operator=(auto_ptr&) throw();227 template<class Y> auto_ptr& operator=(auto_ptr<Y>&) throw();229 ~auto_ptr() throw();237 auto_ptr(auto_ptr_ref<X>) throw();2088 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) throw() : __ptr_(__p.release()) {}2089 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) throw()2091 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr& __p) throw()2093 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr<_Up>& __p) throw()[all …]
288 __shared_count(std::auto_ptr<_Tp>& __r) in __shared_count()588 __shared_ptr(std::auto_ptr<_Tp1>& __r) in __shared_ptr()630 operator=(std::auto_ptr<_Tp1>& __r)999 shared_ptr(std::auto_ptr<_Tp1>& __r) in shared_ptr()1024 operator=(std::auto_ptr<_Tp1>& __r)
296 to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it3296 (auto_ptr): _M_ptr changed to void*.3298 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.3299 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.3300 (auto_ptr::operator*): Likewise.3301 (auto_ptr::operator->): Likewise.3302 (auto_ptr::release): Likewise.3303 (auto_ptr::reset): Likewise.3304 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.3305 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.[all …]
1836 * testsuite/20_util/memory/auto_ptr/assign_neg.cc6377 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...6378 * 20_util/auto_ptr/1.cc: ...this.6379 * 20_util/auto_ptr/2.cc: Same.6380 * 20_util/auto_ptr/3.cc: Same.6381 * 20_util/auto_ptr/3946.cc: Same.6382 * 20_util/auto_ptr/4.cc: Same.6383 * 20_util/auto_ptr/5.cc: Same.6384 * 20_util/auto_ptr/6.cc: Same.6385 * 20_util/auto_ptr/7.cc: Same.[all …]
516 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make2913 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the3354 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.3423 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
2240 * testsuite/20_util/auto_ptr.cc: Tweaks.2258 * testsuite/20_util/auto_ptr.cc (test08): New test.2260 (auto_ptr::operator auto_ptr_ref): Fix typo.
1248 * include/std/std_memory.h (auto_ptr): Ditto.4266 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
4627 shared_ptr/assign/auto_ptr.cc: New test.4639 shared_ptr/cons/auto_ptr.cc: New test.
2286 * testsuite/20_util/auto_ptr.cc: Likewise.5773 * docs/html/20_util/howto.html: More notes on auto_ptr.
78 using std::auto_ptr;
429 strings, especially member functions, and for auto_ptr fixes.