Home
last modified time | relevance | path

Searched refs:non_default_test_allocator (Results 1 – 4 of 4) sorted by relevance

/minix3/external/bsd/libc++/dist/libcxx/test/support/
H A Dtest_allocator.h98 class non_default_test_allocator
103 template <class U> friend class non_default_test_allocator; variable
114 template <class U> struct rebind {typedef non_default_test_allocator<U> other;};
117 explicit non_default_test_allocator(int i) throw() : data_(i) {++count;} in non_default_test_allocator() function
118 non_default_test_allocator(const non_default_test_allocator& a) throw() in throw()
120 template <class U> non_default_test_allocator(const non_default_test_allocator<U>& a) throw() in non_default_test_allocator() function
122 ~non_default_test_allocator() throw() {assert(data_ >= 0); --count; data_ = -1;} in throw()
151 friend bool operator==(const non_default_test_allocator& x, const non_default_test_allocator& y)
153 friend bool operator!=(const non_default_test_allocator& x, const non_default_test_allocator& y)
/minix3/external/bsd/libc++/dist/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc_function.pass.cpp96 non_default_test_allocator<std::function<int(int)>> al(1); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc_F.pass.cpp103 non_default_test_allocator<DummyClass> non_default_alloc(42); in main()
H A Dalloc_function.pass.cpp121 non_default_test_allocator<DummyClass> alloc(42); in main()