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:
@@ -11,7 +11,7 @@ namespace test
|
||||
template <class Container>
|
||||
struct get_key_impl
|
||||
{
|
||||
typedef typename Container::key_type key_type;
|
||||
typedef BOOST_DEDUCED_TYPENAME Container::key_type key_type;
|
||||
|
||||
static key_type const& get_key(key_type const& x)
|
||||
{
|
||||
@@ -32,7 +32,7 @@ namespace test
|
||||
};
|
||||
|
||||
template <class Container, class T>
|
||||
inline typename Container::key_type const& get_key(T const& x)
|
||||
inline BOOST_DEDUCED_TYPENAME Container::key_type const& get_key(T const& x)
|
||||
{
|
||||
return get_key_impl<Container>::get_key(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user