Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bj�nnes wrote:
>> | Lars, I'm shocked (and smiling ;-) You have missed a trick! We
>> | could use boost's iterator adaptors or whatever they're called.
>> | One of them works perfectly for such cases.
>> 
>> :-) I havent' looked at those yet.
>
| http://www.boost.org/libs/utility/iterator_adaptors.htm
>
| Specifically
>
| http://www.boost.org/libs/utility/projection_iterator.htm

I think a counting iterator would work better.

-- 
        Lgb

Reply via email to