/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
move_convert09.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr converting move ctor 65 const std::unique_ptr<B, CDeleter<A>&> s(new B, d); 67 std::unique_ptr<A, CDeleter<A>&> s2(s);
|
move_convert12.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr converting move ctor 65 const std::unique_ptr<B, CDeleter<A>&> s(new B, d); 67 std::unique_ptr<A, CDeleter<A>&> s2 = s;
|
pointer03.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 19 // unique_ptr(pointer) ctor should work with derived pointers 63 std::unique_ptr<A> s(p); 72 std::unique_ptr<A, Deleter> s(p);
|
auto_pointer02.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 19 // template <class U> explicit unique_ptr(auto_ptr<U>&); 53 std::unique_ptr<A, Deleter> up(ap);
|
default02.pass.cpp | 12 // unique_ptr 14 // Test default unique_ptr ctor 19 // default unique_ptr ctor shouldn't require complete type 43 std::unique_ptr<A, D> a_;
|
pointer_deleter02.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 19 // unique_ptr(pointer, d) requires CopyConstructible deleter 51 std::unique_ptr<A, Deleter> s(p, d);
|
pointer_deleter03.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 19 // unique_ptr<T, D&>(pointer, d) does not requires CopyConstructible deleter 53 std::unique_ptr<A, Deleter&> s(p, d);
|
pointer_deleter04.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 19 // unique_ptr<T, const D&>(pointer, d) does not requires CopyConstructible deleter 53 std::unique_ptr<A, const Deleter&> s(p, d);
|
pointer_deleter05.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer, deleter) ctor 19 // unique_ptr(pointer, deleter) should work with derived pointers 60 std::unique_ptr<A, Deleter> s(p, Deleter());
|
move_convert08.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr converting move ctor 105 const std::unique_ptr<B, Deleter<B> > s(new B); 107 std::unique_ptr<A, Deleter<A> > s2(s);
|
move_convert11.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr converting move ctor 105 const std::unique_ptr<B, Deleter<B> > s(new B); 107 std::unique_ptr<A, Deleter<A> > s2 = s;
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.modifiers/ |
reset2.pass.cpp | 12 // unique_ptr 43 std::unique_ptr<A> p(new A); 54 std::unique_ptr<A> p(new B);
|
swap.pass.cpp | 12 // unique_ptr 40 std::unique_ptr<A, Deleter<A> > s1(p1, Deleter<A>(1)); 42 std::unique_ptr<A, Deleter<A> > s2(p2, Deleter<A>(2));
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
unique_ptr.pass.cpp | 12 // template <class Y, class D> explicit shared_ptr(unique_ptr<Y, D>&&r); 59 std::unique_ptr<A> ptr(new A); 70 std::unique_ptr<A> ptr(new A);
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.async/ |
async.pass.cpp | 46 std::unique_ptr<int> f3(int i) 49 return std::unique_ptr<int>(new int(i)); 52 std::unique_ptr<int> f4(std::unique_ptr<int>&& p) 160 std::future<std::unique_ptr<int>> f = std::async(f3, 3); 169 std::future<std::unique_ptr<int>> f = 170 std::async(f4, std::unique_ptr<int>(new int(3)));
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/ |
difference_type.pass.cpp | 52 typedef std::unique_ptr<int, do_nothing> Ptr;
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/futures/futures.promise/ |
set_rvalue.pass.cpp | 35 typedef std::unique_ptr<int> T;
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer_deleter02.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr(pointer, d) requires CopyConstructible deleter 51 std::unique_ptr<A[], Deleter> s(p, d);
|
pointer_deleter03.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr<T[], D&>(pointer, d) does not requires CopyConstructible deleter 53 std::unique_ptr<A[], Deleter&> s(p, d);
|
pointer_deleter04.pass.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr<T[], const D&>(pointer, d) does not requires CopyConstructible deleter 53 std::unique_ptr<A[], const Deleter&> s(p, d);
|
default02.pass.cpp | 12 // unique_ptr 14 // Test default unique_ptr<T[]> ctor 16 // default unique_ptr<T[]> ctor shouldn't require complete type 43 std::unique_ptr<A[], D> a_;
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.merge/ |
inplace_merge_comp.pass.cpp | 96 std::unique_ptr<int>* ia = new std::unique_ptr<int>[N];
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.nth.element/ |
nth_element_comp.pass.cpp | 78 std::vector<std::unique_ptr<int> > v(1000);
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.sort/sort/ |
sort_comp.pass.cpp | 47 std::vector<std::unique_ptr<int> > v(1000);
|
/ndk/sources/cxx-stl/llvm-libc++/test/algorithms/alg.sorting/alg.sort/stable.sort/ |
stable_sort_comp.pass.cpp | 73 std::vector<std::unique_ptr<int> > v(1000);
|