I have a suggestion.

Dave Dave_member at pathlink.com
Wed May 16 20:35:27 PDT 2007


janderson wrote:
> Oskar Linde wrote:
> 
> I agree.  I still don't understand why the compiler can't have a special 
> inbuilt reverse keyword as an attribute of arrays, that it can optimize 
> away when it needs to.
> 
> -Joel

There's array.reverse, but of course it modifies the data.

Instead of foreach_reverse, how about 'reveach' <g>

- Dave



More information about the Digitalmars-d-announce mailing list