forked from boostorg/container
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:
+3
-1
@@ -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();
|
||||
|
||||
////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user