Re: [Boost-Users] Re: [boost] Iterator Adaptor Poll
From: "Kresimir Fresl"
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@boost-consulting.com * http://www.boost-consulting.com
participants (1)
-
David Abrahams