forked from boostorg/unordered
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:
@@ -14,10 +14,10 @@ namespace test
|
||||
{
|
||||
template <class X>
|
||||
struct random_values
|
||||
: public std::list<typename X::value_type>
|
||||
: public std::list<BOOST_DEDUCED_TYPENAME X::value_type>
|
||||
{
|
||||
random_values(int count) {
|
||||
typedef typename X::value_type value_type;
|
||||
typedef BOOST_DEDUCED_TYPENAME X::value_type value_type;
|
||||
static test::generator<value_type> gen;
|
||||
std::generate_n(std::back_inserter(*this), count, gen);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user