Order of evaluation of a += a++;

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 30 16:12:20 PDT 2015

On Monday, 30 March 2015 at 20:31:10 UTC, Temtaime wrote:
> I think DMD does it right. This is commented behavior.

This is certainly not. SDC act as per spec. DMD act as per DMD.

But maybe random evaluation order with incorrect documentation is 
what we want.

More information about the Digitalmars-d mailing list