Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/memory/unique.ptr/
Ddeleter.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/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()