/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.dtor/ |
null.pass.cpp | 14 // The deleter is not called if get() == 0 19 class Deleter 23 Deleter(Deleter&); 24 Deleter& operator=(Deleter&); 27 Deleter() : state_(0) {} 36 Deleter d; 39 std::unique_ptr<int, Deleter&> p(0, d);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/ |
null_ctor.pass.cpp | 14 // The deleter is not called if get() == 0 19 class Deleter 23 Deleter(Deleter&); 24 Deleter& operator=(Deleter&); 27 Deleter() : state_(0) {} 36 Deleter d; 39 std::unique_ptr<int[], Deleter&> p(0, d);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.dtor/ |
null.pass.cpp | 14 // The deleter is not called if get() == 0 19 class Deleter 23 Deleter(Deleter&); 24 Deleter& operator=(Deleter&); 27 Deleter() : state_(0) {} 36 Deleter d; 39 std::unique_ptr<int, Deleter&> p(0, d);
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
pointer_deleter01.pass.cpp | 19 // unique_ptr(pointer, deleter()) only requires MoveConstructible deleter 32 class Deleter 37 Deleter(const Deleter&); 38 Deleter& operator=(const Deleter&); 40 Deleter(Deleter&); 41 Deleter& operator=(Deleter&) [all...] |
move_convert13.fail.cpp | 25 struct Deleter 32 std::unique_ptr<A[], Deleter> s; 33 std::unique_ptr<A, Deleter> s2(std::move(s));
|
move02.pass.cpp | 19 // test move ctor. Should only require a MoveConstructible deleter, or if 20 // deleter is a reference, not even that. 33 class Deleter 38 Deleter(const Deleter&); 39 Deleter& operator=(const Deleter&); 41 Deleter(Deleter&); 42 Deleter& operator=(Deleter&) [all...] |
move_convert08.fail.cpp | 19 // test converting move ctor. Should only require a MoveConstructible deleter, or if 20 // deleter is a reference, not even that. 45 class Deleter 50 Deleter(const Deleter&); 51 Deleter& operator=(const Deleter&); 53 Deleter(Deleter&); 54 Deleter& operator=(Deleter&) [all...] |
move_convert11.fail.cpp | 19 // test converting move ctor. Should only require a MoveConstructible deleter, or if 20 // deleter is a reference, not even that. 45 class Deleter 50 Deleter(const Deleter&); 51 Deleter& operator=(const Deleter&); 53 Deleter(Deleter&); 54 Deleter& operator=(Deleter&) [all...] |
default02.pass.cpp | 23 class Deleter 27 Deleter(Deleter&); 28 Deleter& operator=(Deleter&); 31 Deleter() : state_(5) {} 59 B<Deleter> s; 76 void Deleter::operator()(A* p) {delete p;}
|
pointer_deleter03.pass.cpp | 19 // unique_ptr<T, D&>(pointer, d) does not requires CopyConstructible deleter 31 class Deleter 35 Deleter(const Deleter&); 36 Deleter& operator=(const Deleter&); 39 Deleter() : state_(5) {} 52 Deleter d; 53 std::unique_ptr<A, Deleter&> s(p, d);
|
pointer_deleter04.pass.cpp | 19 // unique_ptr<T, const D&>(pointer, d) does not requires CopyConstructible deleter 31 class Deleter 35 Deleter(const Deleter&); 36 Deleter& operator=(const Deleter&); 39 Deleter() : state_(5) {} 52 Deleter d; 53 std::unique_ptr<A, const Deleter&> s(p, d);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
pointer_deleter01.pass.cpp | 19 // unique_ptr(pointer, deleter()) only requires MoveConstructible deleter 32 class Deleter 37 Deleter(const Deleter&); 38 Deleter& operator=(const Deleter&); 40 Deleter(Deleter&); 41 Deleter& operator=(Deleter&) [all...] |
move_convert13.fail.cpp | 25 struct Deleter 32 std::unique_ptr<A[], Deleter> s; 33 std::unique_ptr<A, Deleter> s2(std::move(s));
|
move02.pass.cpp | 19 // test move ctor. Should only require a MoveConstructible deleter, or if 20 // deleter is a reference, not even that. 33 class Deleter 38 Deleter(const Deleter&); 39 Deleter& operator=(const Deleter&); 41 Deleter(Deleter&); 42 Deleter& operator=(Deleter&) [all...] |
move_convert08.fail.cpp | 19 // test converting move ctor. Should only require a MoveConstructible deleter, or if 20 // deleter is a reference, not even that. 45 class Deleter 50 Deleter(const Deleter&); 51 Deleter& operator=(const Deleter&); 53 Deleter(Deleter&); 54 Deleter& operator=(Deleter&) [all...] |
move_convert11.fail.cpp | 19 // test converting move ctor. Should only require a MoveConstructible deleter, or if 20 // deleter is a reference, not even that. 45 class Deleter 50 Deleter(const Deleter&); 51 Deleter& operator=(const Deleter&); 53 Deleter(Deleter&); 54 Deleter& operator=(Deleter&) [all...] |
/external/libcxx/test/utilities/memory/unique.ptr/ |
deleter.h | 14 // Example move-only deleter 23 class Deleter 28 Deleter(const Deleter&); 29 Deleter& operator=(const Deleter&); 31 Deleter(Deleter&); 32 Deleter& operator=(Deleter&) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/ |
deleter.h | 14 // Example move-only deleter 23 class Deleter 28 Deleter(const Deleter&); 29 Deleter& operator=(const Deleter&); 31 Deleter(Deleter&); 32 Deleter& operator=(Deleter&) [all...] |
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move_convert13.fail.cpp | 25 struct Deleter 32 std::unique_ptr<A[], Deleter> s; 33 std::unique_ptr<A, Deleter> s2;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move_convert13.fail.cpp | 25 struct Deleter 32 std::unique_ptr<A[], Deleter> s; 33 std::unique_ptr<A, Deleter> s2;
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer04.fail.cpp | 42 class Deleter 46 Deleter(Deleter&); 47 Deleter& operator=(Deleter&); 50 Deleter() : state_(5) {} 65 std::unique_ptr<A[], Deleter> s(p);
|
pointer_deleter03.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr<T[], D&>(pointer, d) does not requires CopyConstructible deleter 31 class Deleter 35 Deleter(const Deleter&); 36 Deleter& operator=(const Deleter&); 39 Deleter() : state_(5) {} 52 Deleter d; 53 std::unique_ptr<A[], Deleter&> s(p, d) [all...] |
pointer_deleter04.pass.cpp | 14 // Test unique_ptr(pointer, deleter) ctor 16 // unique_ptr<T[], const D&>(pointer, d) does not requires CopyConstructible deleter 31 class Deleter 35 Deleter(const Deleter&); 36 Deleter& operator=(const Deleter&); 39 Deleter() : state_(5) {} 52 Deleter d; 53 std::unique_ptr<A[], const Deleter&> s(p, d) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
pointer04.fail.cpp | 42 class Deleter 46 Deleter(Deleter&); 47 Deleter& operator=(Deleter&); 50 Deleter() : state_(5) {} 65 std::unique_ptr<A[], Deleter> s(p);
|
/external/deqp/framework/delibs/decpp/ |
deSharedPtr.hpp | 51 template<class Deleter, bool threadSafe> 54 SharedPtrState (Deleter deleter_) 57 , deleter (deleter_) 63 Deleter deleter; member in struct:de::SharedPtrState 72 template<typename T, class Deleter, bool threadSafe> 75 template<typename T, class Deleter, bool threadSafe> 95 * \todo [2012-10-26 pyry] Add custom deleter. 97 template<typename T, class Deleter = DefaultDeleter<T>, bool threadSafe = true> 102 SharedPtr (const SharedPtr<T, Deleter, threadSafe>& other) [all...] |