Update value type used by test allocators in move_tests so that the STL containers can be swapped in

This commit is contained in:
Christian Mazakas
2022-08-16 14:32:52 -07:00
parent 7227cfc68a
commit 7b41f4783f

View File

@@ -797,16 +797,19 @@ namespace move_tests {
} }
boost::unordered_map<test::object, test::object, test::hash, test::equal_to, boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
std::allocator<test::object> >* test_map_std_alloc; std::allocator<std::pair<test::object const, test::object> > >*
test_map_std_alloc;
boost::unordered_set<test::object, test::hash, test::equal_to, boost::unordered_set<test::object, test::hash, test::equal_to,
test::allocator2<test::object> >* test_set; test::allocator2<test::object> >* test_set;
boost::unordered_multiset<test::object, test::hash, test::equal_to, boost::unordered_multiset<test::object, test::hash, test::equal_to,
test::allocator1<test::object> >* test_multiset; test::allocator1<test::object> >* test_multiset;
boost::unordered_map<test::object, test::object, test::hash, test::equal_to, boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
test::allocator1<test::object> >* test_map; test::allocator1<std::pair<test::object const, test::object> > >* test_map;
boost::unordered_multimap<test::object, test::object, test::hash, boost::unordered_multimap<test::object, test::object, test::hash,
test::equal_to, test::allocator2<test::object> >* test_multimap; test::equal_to,
test::allocator2<std::pair<test::object const, test::object> > >*
test_multimap;
boost::unordered_set<test::object, test::hash, test::equal_to, boost::unordered_set<test::object, test::hash, test::equal_to,
test::cxx11_allocator<test::object, test::propagate_move> >* test::cxx11_allocator<test::object, test::propagate_move> >*
@@ -815,11 +818,12 @@ namespace move_tests {
test::cxx11_allocator<test::object, test::propagate_move> >* test::cxx11_allocator<test::object, test::propagate_move> >*
test_multiset_prop_move; test_multiset_prop_move;
boost::unordered_map<test::object, test::object, test::hash, test::equal_to, boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
test::cxx11_allocator<test::object, test::propagate_move> >* test::cxx11_allocator<std::pair<test::object const, test::object>,
test_map_prop_move; test::propagate_move> >* test_map_prop_move;
boost::unordered_multimap<test::object, test::object, test::hash, boost::unordered_multimap<test::object, test::object, test::hash,
test::equal_to, test::cxx11_allocator<test::object, test::propagate_move> >* test::equal_to,
test_multimap_prop_move; test::cxx11_allocator<std::pair<test::object const, test::object>,
test::propagate_move> >* test_multimap_prop_move;
boost::unordered_set<test::object, test::hash, test::equal_to, boost::unordered_set<test::object, test::hash, test::equal_to,
test::cxx11_allocator<test::object, test::no_propagate_move> >* test::cxx11_allocator<test::object, test::no_propagate_move> >*
@@ -828,12 +832,12 @@ namespace move_tests {
test::cxx11_allocator<test::object, test::no_propagate_move> >* test::cxx11_allocator<test::object, test::no_propagate_move> >*
test_multiset_no_prop_move; test_multiset_no_prop_move;
boost::unordered_map<test::object, test::object, test::hash, test::equal_to, boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
test::cxx11_allocator<test::object, test::no_propagate_move> >* test::cxx11_allocator<std::pair<test::object const, test::object>,
test_map_no_prop_move; test::no_propagate_move> >* test_map_no_prop_move;
boost::unordered_multimap<test::object, test::object, test::hash, boost::unordered_multimap<test::object, test::object, test::hash,
test::equal_to, test::equal_to,
test::cxx11_allocator<test::object, test::no_propagate_move> >* test::cxx11_allocator<std::pair<test::object const, test::object>,
test_multimap_no_prop_move; test::no_propagate_move> >* test_multimap_no_prop_move;
using test::default_generator; using test::default_generator;
using test::generate_collisions; using test::generate_collisions;