forked from boostorg/unordered
Unordered: Merge from trunk.
Faster assign, plus simplified some of the implementation. [SVN r80558]
This commit is contained in:
1 parent
05f7c37f54
commit
a0ceefc91a
8 files changed
+1109
-930
No files matched your search
@@ -229,6 +229,24 @@ void insert_tests2(X*, test::random_generator generator)
|
||||
test::check_equivalent_keys(x);
|
||||
}
|
||||
|
||||
std::cerr<<"insert range with rehash tests.\n";
|
||||
|
||||
{
|
||||
test::check_instances check_;
|
||||
|
||||
X x;
|
||||
|
||||
test::random_values<X> v(1000, generator);
|
||||
|
||||
x.insert(*v.begin());
|
||||
x.clear();
|
||||
|
||||
x.insert(v.begin(), v.end());
|
||||
|
||||
test::check_container(x, v);
|
||||
test::check_equivalent_keys(x);
|
||||
}
|
||||
|
||||
std::cerr<<"insert input iterator range tests.\n";
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user