Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-09-14 08:11:51

David Abrahams wrote:
> "Andy Little" <andy_at_[hidden]> writes:
>> "David Abrahams" wrote
>>> Joel de Guzman writes:
>>>> advance_iterator looks general enough.
>>> What *is* an advance_iterator?
>> FWIW:
>> fusion::advance_iterator<
>> Sequence, // the sequence to advance over
>> Stride, // number of positions in underlying
>> //sequence to move on 'next'
>> StridedPosition, // underlying sequence::position *
>> // Stride + Offset
>> Offset // offset in underlying sequence units
>> The main use is to return a column in a linear sequence representing a matrix.
> That's a well-known idea already in the literature; it's known as a
> "strided iterator." Can we use the common terminology?

Yeah, that's one of my review items when I get to it.


Joel de Guzman

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