forked from boostorg/unordered
** empty log message **
[SVN r4139]
This commit is contained in:
@@ -244,9 +244,10 @@ void map_constructor_test(T* = 0)
|
||||
{
|
||||
std::cerr<<"map_constructor_test\n";
|
||||
|
||||
typedef std::list<std::pair<typename T::key_type, typename T::mapped_type> > list;
|
||||
typedef std::list<std::pair<BOOST_DEDUCED_TYPENAME T::key_type, BOOST_DEDUCED_TYPENAME T::mapped_type> > list;
|
||||
test::random_values<T> v(1000);
|
||||
list l(v.begin(), v.end());
|
||||
list l;
|
||||
std::copy(v.begin(), v.end(), std::back_inserter(l));
|
||||
|
||||
T x(l.begin(), l.end());
|
||||
|
||||
|
Reference in New Issue
Block a user