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 -1
View File
@@ -318,7 +318,6 @@ void test_merge_from_different_comparison()
set1.merge(set2);
}
int main ()
{
//Recursive container instantiation
@@ -345,6 +344,9 @@ int main ()
s.emplace(p);
}
if (!boost::container::test::instantiate_constructors<set<int>, multiset<int> >())
return 1;
test_merge_from_different_comparison();
////////////////////////////////////