foreach_reverse is better than ever
Bane
branimir.milosavljevic at gmail.com
Sun Feb 14 06:24:50 PST 2010
Mike James Wrote:
> Andrei Alexandrescu Wrote:
>
> > Gone, that is. Walter agreed to remove it.
> >
> > To achieve the functionality of
> >
> > foreach_reverse (r) { ... }
> >
> > use
> >
> > foreach (retro(r)) { ... }
> >
> > using retro in std.range.
> >
> >
> > Andrei
>
> I think Reverse would have been a better title. Retro sounds like you might be using only 8088 assembler instructions in the output...
>
> -=mike=-
Read about a guy that used preprocessor to change C keywords to his taste on company project. Nearly caused heart attack to next guy in line to maintain that code. Maybe we could keep both keywords :D
More information about the Digitalmars-d
mailing list