Boost logo

Boost :

From: nbecker_at_[hidden]
Date: 2002-01-29 15:06:37

>>>>> "rogeeff" == rogeeff <rogeeff_at_[hidden]> writes:

    rogeeff> --- In boost_at_y..., "rogeeff" <rogeeff_at_m...> wrote:
>> I have implemented class cycle_iterator based on on
>> iterator_adaptors. It is generic class that will work with any
>> collection. If it sound interesting I could post the code.
>> Gennadiy.

    rogeeff> I have uploaded implementation and test in vauly area:

    rogeeff> David, would you be interesting in this as yet another example
    rogeeff> application of iterator_adaptor?

    rogeeff> Gennadiy.

I think you forgot that in "advance" in general "n" can be negative,
in which case the behaviour of "%" is not necessarily what you want.
You need to handle that specially.

Boost list run by bdawes at, gregod at, cpdaniel at, john at