mirror of
https://github.com/boostorg/range.git
synced 2025-07-15 21:52:17 +02:00
[boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63903]
This commit is contained in:
@ -36,6 +36,12 @@ namespace boost
|
||||
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( reference.begin(), reference.end(),
|
||||
target.begin(), target.end() );
|
||||
|
||||
Container target2(cont);
|
||||
boost::fill(boost::make_iterator_range(target2), 1);
|
||||
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS( reference.begin(), reference.end(),
|
||||
target2.begin(), target2.end() );
|
||||
}
|
||||
|
||||
template< class Container >
|
||||
|
Reference in New Issue
Block a user