Home
last modified time | relevance | path

Searched refs:NCConstDeleter (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/support/
Ddeleter_types.h254 class NCConstDeleter
257 NCConstDeleter(NCConstDeleter const&);
258 NCConstDeleter& operator=(NCConstDeleter const&);
261 NCConstDeleter() : state_(0) {} in NCConstDeleter() function
262 explicit NCConstDeleter(int s) : state_(s) {} in NCConstDeleter() function
263 ~NCConstDeleter() {assert(state_ >= 0); state_ = -1;} in ~NCConstDeleter()
273 class NCConstDeleter<T[]>
276 NCConstDeleter(NCConstDeleter const&);
277 NCConstDeleter& operator=(NCConstDeleter const&);
280 NCConstDeleter() : state_(0) {} in NCConstDeleter() function
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/
Dhash_unique_ptr.pass.cpp81 test_enabled_with_deleter<int, NCConstDeleter<int> const&>(); in main()
82 test_enabled_with_deleter<int[], NCConstDeleter<int[]> const&>(); in main()
/external/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
Dpointer_deleter.pass.cpp96 NCConstDeleter<A> d(5); in main()
97 std::unique_ptr<A, NCConstDeleter<A> const&> s(p, d); in main()