← Back to team overview

ooc-dev team mailing list archive

Re: Back/front methods for Iterable (and reverse iterators)

 

Not all iterators are efficiently reverseable, hidding this may not be
something you want.

On Fri, May 28, 2010 at 4:33 PM, Amos Wenger <amoswenger@xxxxxxxxx> wrote:

> So what then? iterator~back() ?
>
>
> On Fri, May 28, 2010 at 2:53 PM, Bart van der Werf <bluelive@xxxxxxxxx>wrote:
>
>> I'm not sure.
>>
>> Alot of iterables have no order, so if front/back is the default way to
>> get an iterator it would make little sense.
>>
>
>

References