I think DMD does it right. This is commented behavior. And nobody will change that: as there are many cries in bugzilla for example for phobos fixes « no, we cannot change it, it will break existing code ! », so like this nobody will change evaluation order.
So in SDC there's no difference between a += a and a += a++ ?
Damn SDC!
- Order of evaluation of a += a++; deadalnix via Digitalmars-d
- Re: Order of evaluation of a +=... Temtaime via Digitalmars-d
- Re: Order of evaluation of ... deadalnix via Digitalmars-d
- Re: Order of evaluation... Andrei Alexandrescu via Digitalmars-d
- Re: Order of evalua... deadalnix via Digitalmars-d
- Re: Order of e... Andrei Alexandrescu via Digitalmars-d
