|
Boost : |
From: Kresimir Fresl (fresl_at_[hidden])
Date: 2002-07-26 16:14:07
Jeremy Siek wrote:
> On Fri, 26 Jul 2002, David Abrahams wrote:
> dave> Don't you think people will find an iterator which traverses the
> dave> elements of a real sequence to be more-obvious? That's why I'm
> dave> suggesting the singly-linked list iterator.
> The singly-linked list example was the second thing that popped into my
> mind... I like that a lot too. Perhaps we should do both :)
What about `strided_iterator', i.e. iterator that with each
increment/decrement skips given number of elements in
a sequence? Testing for `end' can be interesting ;o)
Sincerely,
fres
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk