Searched refs:allocator_ref (Results 1 – 6 of 6) sorted by relevance
40 template <typename Allocator> class allocator_ref {44 void move(allocator_ref& other) { in move()52 explicit allocator_ref(Allocator* alloc = nullptr) : alloc_(alloc) {} in alloc_()54 allocator_ref(const allocator_ref& other) : alloc_(other.alloc_) {} in allocator_ref() function55 allocator_ref(allocator_ref&& other) { move(other); } in allocator_ref() function57 allocator_ref& operator=(allocator_ref&& other) {63 allocator_ref& operator=(const allocator_ref& other) {
233 TEST(util_test, allocator_ref) { in TEST() argument234 using test_allocator_ref = allocator_ref<mock_allocator<int>>; in TEST()239 allocator_ref<mock_allocator<int>>::value_type* ptr = &mem; in TEST()314 using std_allocator = allocator_ref<std::allocator<char>>;390 using allocator = allocator_ref<mock_allocator<int>>; in TEST()410 using test_allocator = allocator_ref<mock_allocator<char>>; in TEST()427 using test_allocator = allocator_ref<mock_allocator<char>>; in TEST()
361 allocator1() : tag_(0) { detail::tracker.allocator_ref(); } in allocator1()363 explicit allocator1(int t) : tag_(t) { detail::tracker.allocator_ref(); } in allocator1()367 detail::tracker.allocator_ref(); in allocator1()372 detail::tracker.allocator_ref(); in allocator1()607 allocator2() : tag_(0) { detail::tracker.allocator_ref(); } in allocator2()609 explicit allocator2(int t) : tag_(t) { detail::tracker.allocator_ref(); } in allocator2()613 detail::tracker.allocator_ref(); in allocator2()618 detail::tracker.allocator_ref(); in allocator2()
390 test::detail::tracker.allocator_ref(); in allocator()395 test::detail::tracker.allocator_ref(); in allocator()400 test::detail::tracker.allocator_ref(); in allocator()568 test::detail::tracker.allocator_ref(); in allocator2()573 test::detail::tracker.allocator_ref(); in allocator2()578 test::detail::tracker.allocator_ref(); in allocator2()583 test::detail::tracker.allocator_ref(); in allocator2()
165 detail::tracker.allocator_ref(); in cxx11_allocator_base()172 detail::tracker.allocator_ref(); in cxx11_allocator_base()178 detail::tracker.allocator_ref(); in cxx11_allocator_base()
73 void allocator_ref() in allocator_ref() function