Review all associative containers and implement a different constructor overload to avoid any unnecessary copy construction of the predicate or the allocator.

This commit is contained in:
Ion Gaztañaga
2017-05-16 16:29:49 +02:00
parent 40451e4bf7
commit ec91367383
14 changed files with 1694 additions and 914 deletions
+3
View File
@@ -502,6 +502,9 @@ int main()
return 1;
}
if (!boost::container::test::instantiate_constructors<flat_map<int, int>, flat_multimap<int, int> >())
return 1;
////////////////////////////////////
// Testing allocator implementations
////////////////////////////////////