Deprecated language features

Marco Leise Marco.Leise at gmx.de
Thu Feb 2 18:08:05 PST 2012


Am 02.02.2012, 18:53 Uhr, schrieb bearophile <bearophileHUGS at lycos.com>:

> Ali:
>
>> I think foreach_reverse and the associated opApplyReverse member  
>> function.
>
> I use it now and then. A possible replacement:
>
> foreach (i; 10 .. 0 : -1) {}
>
> Bye,
> bearophile

I agree. iterating in reverse over an array is common enough


More information about the Digitalmars-d mailing list