HomeSort by relevance Sort by last modified time
    Searched refs:auto_ptr (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
convert_to_auto_ptr.pass.cpp 12 // template <class X> class auto_ptr;
14 // template<class Y> operator auto_ptr<Y>() throw();
21 std::auto_ptr<B>
24 return std::auto_ptr<B>(new B(1));
30 std::auto_ptr<A> ap2(source());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
convert_to_auto_ptr.pass.cpp 12 // template <class X> class auto_ptr;
14 // template<class Y> operator auto_ptr<Y>() throw();
21 std::auto_ptr<B>
24 return std::auto_ptr<B>(new B(1));
30 std::auto_ptr<A> ap2(source());
  /external/stlport/test/unit/
memory_test.cpp 28 auto_ptr<int> CreateAutoPtr(int val)
29 { return auto_ptr<int>(new int(val)); }
31 bool CheckEquality(auto_ptr<int> pint, int val)
42 auto_ptr<int> pint(new int(1));
49 auto_ptr<int> pint(CreateAutoPtr(3));
55 auto_ptr<const int> pint(new int(2));
59 auto_ptr<volatile int> pint(new int(2));
63 auto_ptr<const volatile int> pint(new int(2));
  /ndk/tests/device/test-gnustl-full/unit/
memory_test.cpp 28 auto_ptr<int> CreateAutoPtr(int val)
29 { return auto_ptr<int>(new int(val)); }
31 bool CheckEquality(auto_ptr<int> pint, int val)
42 auto_ptr<int> pint(new int(1));
49 auto_ptr<int> pint(CreateAutoPtr(3));
55 auto_ptr<const int> pint(new int(2));
59 auto_ptr<volatile int> pint(new int(2));
63 auto_ptr<const volatile int> pint(new int(2));
  /ndk/tests/device/test-stlport/unit/
memory_test.cpp 28 auto_ptr<int> CreateAutoPtr(int val)
29 { return auto_ptr<int>(new int(val)); }
31 bool CheckEquality(auto_ptr<int> pint, int val)
42 auto_ptr<int> pint(new int(1));
49 auto_ptr<int> pint(CreateAutoPtr(3));
55 auto_ptr<const int> pint(new int(2));
59 auto_ptr<volatile int> pint(new int(2));
63 auto_ptr<const volatile int> pint(new int(2));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
41 * A wrapper class to provide auto_ptr with reference semantics.
42 * For example, an auto_ptr can be assigned (or constructed from)
43 * the result of a function which returns an auto_ptr by value.
62 * An @c auto_ptr owns the object it holds a pointer to. Copying
63 * an @c auto_ptr copies the pointer and transfers ownership to the
64 * destination. If more than one @c auto_ptr owns the same object
67 * The uses of @c auto_ptr include providing temporary
71 * auto_ptr does not meet the CopyConstructible and Assignabl
87 class auto_ptr class
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
286 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
39 * A wrapper class to provide auto_ptr with reference semantics.
40 * For example, an auto_ptr can be assigned (or constructed from)
41 * the result of a function which returns an auto_ptr by value.
60 * An @c auto_ptr owns the object it holds a pointer to. Copying
61 * an @c auto_ptr copies the pointer and transfers ownership to the
62 * destination. If more than one @c auto_ptr owns the same object
65 * The uses of @c auto_ptr include providing temporary
69 * auto_ptr does not meet the CopyConstructible and Assignabl
85 class auto_ptr class
101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
284 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
39 * A wrapper class to provide auto_ptr with reference semantics.
40 * For example, an auto_ptr can be assigned (or constructed from)
41 * the result of a function which returns an auto_ptr by value.
60 * An @c auto_ptr owns the object it holds a pointer to. Copying
61 * an @c auto_ptr copies the pointer and transfers ownership to the
62 * destination. If more than one @c auto_ptr owns the same object
65 * The uses of @c auto_ptr include providing temporary
69 * auto_ptr does not meet the CopyConstructible and Assignabl
85 class auto_ptr class
101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
284 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
39 * A wrapper class to provide auto_ptr with reference semantics.
40 * For example, an auto_ptr can be assigned (or constructed from)
41 * the result of a function which returns an auto_ptr by value.
60 * An @c auto_ptr owns the object it holds a pointer to. Copying
61 * an @c auto_ptr copies the pointer and transfers ownership to the
62 * destination. If more than one @c auto_ptr owns the same object
65 * The uses of @c auto_ptr include providing temporary
69 * auto_ptr does not meet the CopyConstructible and Assignabl
85 class auto_ptr class
101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
284 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
39 * A wrapper class to provide auto_ptr with reference semantics.
40 * For example, an auto_ptr can be assigned (or constructed from)
41 * the result of a function which returns an auto_ptr by value.
60 * An @c auto_ptr owns the object it holds a pointer to. Copying
61 * an @c auto_ptr copies the pointer and transfers ownership to the
62 * destination. If more than one @c auto_ptr owns the same object
65 * The uses of @c auto_ptr include providing temporary
69 * auto_ptr does not meet the CopyConstructible and Assignabl
85 class auto_ptr class
101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
284 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
41 * A wrapper class to provide auto_ptr with reference semantics.
42 * For example, an auto_ptr can be assigned (or constructed from)
43 * the result of a function which returns an auto_ptr by value.
62 * An @c auto_ptr owns the object it holds a pointer to. Copying
63 * an @c auto_ptr copies the pointer and transfers ownership to the
64 * destination. If more than one @c auto_ptr owns the same object
67 * The uses of @c auto_ptr include providing temporary
71 * auto_ptr does not meet the CopyConstructible and Assignabl
87 class auto_ptr class
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
286 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
41 * A wrapper class to provide auto_ptr with reference semantics.
42 * For example, an auto_ptr can be assigned (or constructed from)
43 * the result of a function which returns an auto_ptr by value.
62 * An @c auto_ptr owns the object it holds a pointer to. Copying
63 * an @c auto_ptr copies the pointer and transfers ownership to the
64 * destination. If more than one @c auto_ptr owns the same object
67 * The uses of @c auto_ptr include providing temporary
71 * auto_ptr does not meet the CopyConstructible and Assignabl
87 class auto_ptr class
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
286 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
41 * A wrapper class to provide auto_ptr with reference semantics.
42 * For example, an auto_ptr can be assigned (or constructed from)
43 * the result of a function which returns an auto_ptr by value.
62 * An @c auto_ptr owns the object it holds a pointer to. Copying
63 * an @c auto_ptr copies the pointer and transfers ownership to the
64 * destination. If more than one @c auto_ptr owns the same object
67 * The uses of @c auto_ptr include providing temporary
71 * auto_ptr does not meet the CopyConstructible and Assignabl
87 class auto_ptr class
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
286 class auto_ptr<void> class
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
41 * A wrapper class to provide auto_ptr with reference semantics.
42 * For example, an auto_ptr can be assigned (or constructed from)
43 * the result of a function which returns an auto_ptr by value.
62 * An @c auto_ptr owns the object it holds a pointer to. Copying
63 * an @c auto_ptr copies the pointer and transfers ownership to the
64 * destination. If more than one @c auto_ptr owns the same object
67 * The uses of @c auto_ptr include providing temporary
71 * auto_ptr does not meet the CopyConstructible and Assignabl
87 class auto_ptr class
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
286 class auto_ptr<void> class
    [all...]
  /external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
copy.fail.cpp 12 // template <class X> class auto_ptr;
14 // auto_ptr(auto_ptr& a) throw();
26 const std::auto_ptr<A> ap1(p);
27 std::auto_ptr<A> ap2(ap1);
copy.pass.cpp 12 // template <class X> class auto_ptr;
14 // auto_ptr(auto_ptr& a) throw();
26 std::auto_ptr<A> ap1(p);
27 std::auto_ptr<A> ap2(ap1);
explicit.fail.cpp 12 // template <class X> class auto_ptr;
14 // explicit auto_ptr(X* p =0) throw();
26 std::auto_ptr<A> ap = p;
32 std::auto_ptr<A> ap;
pointer.pass.cpp 12 // template <class X> class auto_ptr;
14 // explicit auto_ptr(X* p =0) throw();
26 std::auto_ptr<A> ap(p);
32 std::auto_ptr<A> ap;
  /external/libcxx/test/depr/depr.auto.ptr/auto.ptr/
element_type.pass.cpp 13 // class auto_ptr
27 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
35 std::auto_ptr<void> p;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
copy.fail.cpp 12 // template <class X> class auto_ptr;
14 // auto_ptr(auto_ptr& a) throw();
26 const std::auto_ptr<A> ap1(p);
27 std::auto_ptr<A> ap2(ap1);
copy.pass.cpp 12 // template <class X> class auto_ptr;
14 // auto_ptr(auto_ptr& a) throw();
26 std::auto_ptr<A> ap1(p);
27 std::auto_ptr<A> ap2(ap1);
explicit.fail.cpp 12 // template <class X> class auto_ptr;
14 // explicit auto_ptr(X* p =0) throw();
26 std::auto_ptr<A> ap = p;
32 std::auto_ptr<A> ap;
pointer.pass.cpp 12 // template <class X> class auto_ptr;
14 // explicit auto_ptr(X* p =0) throw();
26 std::auto_ptr<A> ap(p);
32 std::auto_ptr<A> ap;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/
element_type.pass.cpp 13 // class auto_ptr
27 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
35 std::auto_ptr<void> p;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/backward/
auto_ptr.h 0 // auto_ptr implementation -*- C++ -*-
25 /** @file backward/auto_ptr.h
41 * A wrapper class to provide auto_ptr with reference semantics.
42 * For example, an auto_ptr can be assigned (or constructed from)
43 * the result of a function which returns an auto_ptr by value.
62 * An @c auto_ptr owns the object it holds a pointer to. Copying
63 * an @c auto_ptr copies the pointer and transfers ownership to the
64 * destination. If more than one @c auto_ptr owns the same object
67 * The uses of @c auto_ptr include providing temporary
71 * auto_ptr does not meet the CopyConstructible and Assignabl
87 class auto_ptr class
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr
260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr
286 class auto_ptr<void> class
    [all...]

Completed in 475 milliseconds

1 2 3 4 5 6 7