mirror of
https://github.com/boostorg/unordered.git
synced 2025-10-04 19:51:01 +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:
@@ -54,10 +54,10 @@ struct swap_base : public test::exception_base
|
||||
|
||||
swap_base(unsigned int count1, unsigned int count2, int tag1, int tag2)
|
||||
: x_values(count1), y_values(count2),
|
||||
initial_x(x_values.begin(), x_values.end(), 0, typename T::hasher(tag1),
|
||||
typename T::key_equal(tag1), typename T::allocator_type(tag1)),
|
||||
initial_y(y_values.begin(), y_values.end(), 0, typename T::hasher(tag2),
|
||||
typename T::key_equal(tag2), typename T::allocator_type(tag2))
|
||||
initial_x(x_values.begin(), x_values.end(), 0, BOOST_DEDUCED_TYPENAME T::hasher(tag1),
|
||||
BOOST_DEDUCED_TYPENAME T::key_equal(tag1), BOOST_DEDUCED_TYPENAME T::allocator_type(tag1)),
|
||||
initial_y(y_values.begin(), y_values.end(), 0, BOOST_DEDUCED_TYPENAME T::hasher(tag2),
|
||||
BOOST_DEDUCED_TYPENAME T::key_equal(tag2), BOOST_DEDUCED_TYPENAME T::allocator_type(tag2))
|
||||
{}
|
||||
|
||||
struct data_type {
|
||||
|
Reference in New Issue
Block a user