forked from boostorg/range
[boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63903]
This commit is contained in:
1 parent
ef000176d8
commit
74a01a4487
57 files changed
+1178
-216
No files matched your search
@@ -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