Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 11:56:09


Hi,

I propose following change in counting_iterator_test.cpp to be able
to compile it with Solaris Forte C++ 6 u.1

Gennadiy.

cvs diff counting_iterator_test.cpp
Index: counting_iterator_test.cpp
===================================================================
RCS
file: /cvsroot/boost/boost/libs/utility/counting_iterator_test.cpp,v
retrieving revision 1.12
diff -r1.12 counting_iterator_test.cpp
139a140
> #ifndef __SUNPRO_CC
140a142,146
> #else
> test_aux(boost::counting_iterator_generator<Incrementable>::type
(start),
>
boost::counting_iterator_generator<Incrementable>::type(finish));
>
> #endif
259c265
< test(boost::make_counting_iterator(array),
boost::make_counting_iterator(array+2000-1));

---
>     test(array, array+2000-1);

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk