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