Re: Backward iterators

Colin Paul Adams <[email protected]> Sat, 01 Nov 2008 19:52:23 +0000
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
>>>>> "Eric" == Eric Bezault <[email protected]> writes:

    >> *_backwards seems straight-forward.

    Eric> My dictionary says that Americans use "backward" instead of
    Eric> "backwards".

There's a subtle difference in meaning in England, in that the former
could be construed as a slight. But i don't object.


    Eric> We could have the forward(s) and backward(s) versions, and
    Eric> have `do_all' use one or the other (when people don't care
    Eric> about the direction of the traversal). For example in
    Eric> DS_CONTAINER we have `do_all' since we don't really know or
    Eric> care about traversal directions. In class DS_LINEAR it could
    Eric> be implemented using `do_forward(s)'.

That sounds good to me. You might try selling it to Manu for Free ELKS
too. There wouldn't be any compatibility (I left out the preceding
adjective :-) ) problem, either.
-- 
Colin Adams
Preston Lancashire

-------------------------------------------------------------------------
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=/