Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-07-26 10:24:17


From: "Kresimir Fresl" <fresl_at_[hidden]>

>
> 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)

Yes, too interesting. We're looking for a simple "hello, world" example
here.

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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