Re: Backward iterators

Eric Bezault <[email protected]> Sat, 01 Nov 2008 18:59:13 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
Colin Paul Adams wrote:
> In several places in the XSLT library, I have to process structures
> backwards, using new_cursor, finish, before. This precludes converting
> the loops to using agents with do_all, do_if etc. This will annoy
> Franck.
> 
> Well, I have no objection to annoying Franck, since he won't fix the
> bugs in the XML parser. But if he decides to do so, can we reward him
> with backward iterators?

I thought about that as well. I think that I was the first one
to explicitly state in the header comments that the iterators
are traversing from first to last. Which of course raises the
issue that we miss the iterators from last to first. We also
probably miss a few other possible iterators such as do_until.
Any naming convention for the backward iterator feature names?

-- 
Eric Bezault
mailto:[email protected]
http://www.gobosoft.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/