forked from boostorg/range
[boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63903]
This commit is contained in:
@ -45,10 +45,19 @@ namespace
|
||||
value_type()
|
||||
);
|
||||
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS(
|
||||
reference.begin(), reference.end(),
|
||||
test.begin(), test.end()
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( reference.begin(), reference.end(),
|
||||
test.begin(), test.end() );
|
||||
|
||||
test.clear();
|
||||
|
||||
test_append(
|
||||
boost::reverse_copy(boost::make_iterator_range(cont),
|
||||
std::back_inserter(test)),
|
||||
value_type()
|
||||
);
|
||||
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( reference.begin(), reference.end(),
|
||||
test.begin(), test.end() );
|
||||
}
|
||||
|
||||
template<class Container>
|
||||
|
Reference in New Issue
Block a user