/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
pointer03.pass.cpp | 42 class Deleter 46 Deleter(Deleter&); 47 Deleter& operator=(Deleter&); 50 Deleter() : state_(5) {} 72 std::unique_ptr<A, Deleter> s(p);
|
pointer_deleter02.pass.cpp | 19 // unique_ptr(pointer, d) requires CopyConstructible deleter 31 class Deleter 37 Deleter() : state_(5) {} 50 Deleter d; 51 std::unique_ptr<A, Deleter> s(p, d);
|
pointer_deleter05.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 19 // unique_ptr(pointer, deleter) should work with derived pointers 42 class Deleter 47 Deleter() : state_(5) {} 60 std::unique_ptr<A, Deleter> s(p, Deleter());
|
move_convert05.fail.cpp | 19 #include "../../deleter.h" 21 // test converting move ctor. Should only require a MoveConstructible deleter, or if 22 // deleter is a reference, not even that. 48 std::unique_ptr<B, Deleter<B> > s(new B); 49 std::unique_ptr<A, Deleter<A> > s2 = s;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
pointer03.pass.cpp | 42 class Deleter 46 Deleter(Deleter&); 47 Deleter& operator=(Deleter&); 50 Deleter() : state_(5) {} 72 std::unique_ptr<A, Deleter> s(p);
|
pointer_deleter02.pass.cpp | 19 // unique_ptr(pointer, d) requires CopyConstructible deleter 31 class Deleter 37 Deleter() : state_(5) {} 50 Deleter d; 51 std::unique_ptr<A, Deleter> s(p, d);
|
pointer_deleter05.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 19 // unique_ptr(pointer, deleter) should work with derived pointers 42 class Deleter 47 Deleter() : state_(5) {} 60 std::unique_ptr<A, Deleter> s(p, Deleter());
|
move_convert05.fail.cpp | 19 #include "../../deleter.h" 21 // test converting move ctor. Should only require a MoveConstructible deleter, or if 22 // deleter is a reference, not even that. 48 std::unique_ptr<B, Deleter<B> > s(new B); 49 std::unique_ptr<A, Deleter<A> > s2 = s;
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
rel.pass.cpp | 33 #include "../deleter.h" 59 const std::unique_ptr<A, Deleter<A> > p1(new A); 60 const std::unique_ptr<A, Deleter<A> > p2(new A); 66 const std::unique_ptr<A, Deleter<A> > p1(new A); 67 const std::unique_ptr<B, Deleter<B> > p2(new B); 73 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); 74 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); 80 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); 81 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]); 87 const std::unique_ptr<A, Deleter<A> > p1 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
rel.pass.cpp | 33 #include "../deleter.h" 59 const std::unique_ptr<A, Deleter<A> > p1(new A); 60 const std::unique_ptr<A, Deleter<A> > p2(new A); 66 const std::unique_ptr<A, Deleter<A> > p1(new A); 67 const std::unique_ptr<B, Deleter<B> > p2(new B); 73 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); 74 const std::unique_ptr<A[], Deleter<A[]> > p2(new A[3]); 80 const std::unique_ptr<A[], Deleter<A[]> > p1(new A[3]); 81 const std::unique_ptr<B[], Deleter<B[]> > p2(new B[3]); 87 const std::unique_ptr<A, Deleter<A> > p1 [all...] |
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
move_convert03.fail.cpp | 21 #include "../deleter.h" 47 Deleter<B> db(5); 48 boost::unique_ptr<B[], Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 boost::unique_ptr<A[], Deleter<A>&> s2(new A, da);
|
move_convert06.fail.cpp | 21 #include "../deleter.h" 47 Deleter<B> db(5); 48 const boost::unique_ptr<B[], Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 boost::unique_ptr<A[], Deleter<A>&> s2(new A, da);
|
move_convert09.fail.cpp | 21 #include "../deleter.h" 47 Deleter<B> db(5); 48 boost::unique_ptr<B[], Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 boost::unique_ptr<A[], Deleter<A>&> s2(new A, da);
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer_deleter02.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr(pointer, d) requires CopyConstructible deleter 31 class Deleter 37 Deleter() : state_(5) {} 50 Deleter d; 51 std::unique_ptr<A[], Deleter> s(p, d);
|
pointer_deleter01.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr(pointer, deleter()) only requires MoveConstructible deleter 21 #include "../../deleter.h" 38 std::unique_ptr<A[], Deleter<A[]> > s(p, Deleter<A[]>());
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move_convert03.fail.cpp | 21 #include "../../deleter.h" 47 Deleter<B> db(5); 48 std::unique_ptr<B, Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 std::unique_ptr<A, Deleter<A>&> s2(new A, da);
|
move_convert06.fail.cpp | 21 #include "../../deleter.h" 47 Deleter<B> db(5); 48 const std::unique_ptr<B, Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 std::unique_ptr<A, Deleter<A>&> s2(new A, da);
|
move_convert02.pass.cpp | 19 #include "../../deleter.h" 45 std::unique_ptr<B, Deleter<B> > s(new B, Deleter<B>(5)); 47 std::unique_ptr<A, Deleter<A> > s2(new A);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
move_convert03.fail.cpp | 21 #include "../deleter.h" 47 Deleter<B> db(5); 48 boost::unique_ptr<B[], Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 boost::unique_ptr<A[], Deleter<A>&> s2(new A, da);
|
move_convert06.fail.cpp | 21 #include "../deleter.h" 47 Deleter<B> db(5); 48 const boost::unique_ptr<B[], Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 boost::unique_ptr<A[], Deleter<A>&> s2(new A, da);
|
move_convert09.fail.cpp | 21 #include "../deleter.h" 47 Deleter<B> db(5); 48 boost::unique_ptr<B[], Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 boost::unique_ptr<A[], Deleter<A>&> s2(new A, da);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer_deleter02.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr(pointer, d) requires CopyConstructible deleter 31 class Deleter 37 Deleter() : state_(5) {} 50 Deleter d; 51 std::unique_ptr<A[], Deleter> s(p, d);
|
pointer_deleter01.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr(pointer, deleter()) only requires MoveConstructible deleter 21 #include "../../deleter.h" 38 std::unique_ptr<A[], Deleter<A[]> > s(p, Deleter<A[]>());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move_convert03.fail.cpp | 21 #include "../../deleter.h" 47 Deleter<B> db(5); 48 std::unique_ptr<B, Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 std::unique_ptr<A, Deleter<A>&> s2(new A, da);
|
move_convert06.fail.cpp | 21 #include "../../deleter.h" 47 Deleter<B> db(5); 48 const std::unique_ptr<B, Deleter<B>&> s(new B, db); 50 Deleter<A> da(6); 51 std::unique_ptr<A, Deleter<A>&> s2(new A, da);
|