mirror of
https://github.com/boostorg/utility.git
synced 2025-07-31 13:27:34 +02:00
A first stab at vc6 compatibility
[SVN r7668]
This commit is contained in:
@@ -83,8 +83,8 @@ main()
|
|||||||
x[k] = k;
|
x[k] = k;
|
||||||
std::copy(x, x + N, y);
|
std::copy(x, x + N, y);
|
||||||
|
|
||||||
for (int k = 0; k < N; ++k)
|
for (int k2 = 0; k2 < N; ++k2)
|
||||||
x[k] = x[k] * 2;
|
x[k2] = x[k2] * 2;
|
||||||
|
|
||||||
boost::transform_iterator<mult_functor, int*>::type i(y, mult_functor(2));
|
boost::transform_iterator<mult_functor, int*>::type i(y, mult_functor(2));
|
||||||
boost::random_access_iterator_test(i, N, x);
|
boost::random_access_iterator_test(i, N, x);
|
||||||
|
Reference in New Issue
Block a user