Default initialization for vector-like containers

Complexity guarantees for associative container constructors and ordered input ranges
Added benchmark for associative containers
Fixes #9166

[SVN r85964]
This commit is contained in:
Ion Gaztañaga committed 2013-09-26 18:05:25 +00:00
1 parent 59b2793df7
commit 14f092ab00
39 files changed
+1450 -242

No files matched your search

+4
View File
@@ -332,6 +332,10 @@ int main ()
return 1;
if(test::vector_test<MyCopyDeque>())
return 1;
if(!test::default_init_test< deque<int, test::default_init_allocator<int> > >()){
std::cerr << "Default init test failed" << std::endl;
return 1;
}
}
const test::EmplaceOptions Options = (test::EmplaceOptions)(test::EMPLACE_BACK | test::EMPLACE_FRONT | test::EMPLACE_BEFORE);