for() with 4 arguments to allow postcondition

Walter Bright newshound2 at digitalmars.com
Tue Jun 19 13:31:38 PDT 2012


On 6/19/2012 3:51 AM, Michel Colman wrote:
> So now you could still write:
>
> for (i = 0; i < 10; ++i) // old syntax still available,
> *hopefully* optimized by compiler

I recommend coding up this example, submitting it to dmd with the -O switch, and 
examining the output.


More information about the Digitalmars-d mailing list