mirror of
https://github.com/boostorg/unordered.git
synced 2026-07-11 02:50:49 +02:00
Merge latest unordered developments:
Make simple_test test a little more. Use doubles for calculating max load factor. Some workarounds, mostly for Borland and running the tests. [SVN r42666]
This commit is contained in:
@@ -39,10 +39,10 @@ void insert_test(X*, float mlf)
|
||||
|
||||
test::random_values<X> values(1000);
|
||||
|
||||
for(typename test::random_values<X>::const_iterator
|
||||
for(BOOST_DEDUCED_TYPENAME test::random_values<X>::const_iterator
|
||||
it = values.begin(), end = values.end(); it != end; ++it)
|
||||
{
|
||||
typename X::size_type old_size = x.size(),
|
||||
BOOST_DEDUCED_TYPENAME X::size_type old_size = x.size(),
|
||||
old_bucket_count = x.bucket_count();
|
||||
x.insert(*it);
|
||||
if(old_size + 1 < b * old_bucket_count)
|
||||
|
||||
Reference in New Issue
Block a user