forked from boostorg/range
[boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63903]
This commit is contained in:
@ -39,6 +39,10 @@ namespace boost
|
||||
BOOST_CHECK( it == target.end() );
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( target.begin(), target.end(),
|
||||
source.rbegin(), source.rend() );
|
||||
|
||||
BOOST_CHECK( it == boost::copy_backward(boost::make_iterator_range(source), target.begin()) );
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( target.begin(), target.end(),
|
||||
source.rbegin(), source.rend() );
|
||||
}
|
||||
|
||||
void test_copy_backward()
|
||||
|
Reference in New Issue
Block a user