Searched refs:allocator_ref (Results 1 – 2 of 2) sorted by relevance
23 template <typename Allocator> class allocator_ref {27 void move(allocator_ref& other) { in move()35 explicit allocator_ref(Allocator* alloc = nullptr) : alloc_(alloc) {} in alloc_()37 allocator_ref(const allocator_ref& other) : alloc_(other.alloc_) {} in allocator_ref() function38 allocator_ref(allocator_ref&& other) { move(other); } in allocator_ref() function40 allocator_ref& operator=(allocator_ref&& other) {46 allocator_ref& operator=(const allocator_ref& other) {
197 allocator_ref<mock_allocator<int>>& ref) { in check_forwarding()200 allocator_ref<mock_allocator<int>>::value_type* ptr = &mem; in check_forwarding()208 TEST(AllocatorTest, allocator_ref) { in TEST() argument210 typedef allocator_ref<mock_allocator<int>> test_allocator_ref; in TEST()222 typedef allocator_ref<std::allocator<char>> TestAllocator;297 typedef allocator_ref<mock_allocator<int>> Allocator; in TEST()317 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST()334 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST()