mirror of
https://github.com/boostorg/utility.git
synced 2025-07-31 05:17:27 +02:00
changed test for transform iterator to use input_iterator instead of
random access iterator [SVN r8937]
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user