mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
changed test for transform iterator to use input_iterator instead of
random access iterator [SVN r8937]
This commit is contained in:
parent
f31483838d
commit
826a6dd114
@ -111,7 +111,7 @@ main()
|
|||||||
boost::transform_iterator<mult_functor, int*,
|
boost::transform_iterator<mult_functor, int*,
|
||||||
boost::iterator<std::random_access_iterator_tag,int> >::type
|
boost::iterator<std::random_access_iterator_tag,int> >::type
|
||||||
i(y, mult_functor(2));
|
i(y, mult_functor(2));
|
||||||
boost::random_access_iterator_test(i, N, x);
|
boost::input_iterator_test(i, x[0], x[1]);
|
||||||
}
|
}
|
||||||
// Test indirect_iterators
|
// Test indirect_iterators
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user