Lines Matching refs:allocator
38 using Allocator = LocalCountingAllocator<std::allocator<std::pair<const Key, Mapped>>>;
66 using test_allocator_type = std::allocator<std::pair<const int, int>>; in test_member_types()
116 std::allocator<std::pair<const int, int>> allocator; in test_deduction_guides() local
120 TMap map3(v.begin(), v.end(), allocator); in test_deduction_guides()
121 …static_assert(std::is_same_v<decltype(map3), TMap<int, int, std::less<int>, decltype(allocator)> >… in test_deduction_guides()
123 TMap map4(v.begin(), v.end(), compare, allocator); in test_deduction_guides()
124 …td::is_same_v<decltype(map4), TMap<int, int, decltype(compare), decltype(allocator)> >, "WRONG\n"); in test_deduction_guides()
134 TMap map7(init, allocator); in test_deduction_guides()
135 …static_assert(std::is_same_v<decltype(map7), TMap<int, int, std::less<int>, decltype(allocator)> >… in test_deduction_guides()
137 TMap map8(init, compare, allocator); in test_deduction_guides()
138 …td::is_same_v<decltype(map8), TMap<int, int, decltype(compare), decltype(allocator)> >, "WRONG\n"); in test_deduction_guides()