Evaluation order of "+="
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 12 02:15:47 PDT 2016
On Tuesday, 12 July 2016 at 07:57:37 UTC, Johan Engelen wrote:
> On Tuesday, 12 July 2016 at 02:27:04 UTC, deadalnix wrote:
>>
>> There was a very lenghty discussion about this in the past.
>> DMD is correct on that one. The semantic is such as :
>>
>> int plusEqual(ref int a, int b) {
>> a = a + b;
>> return a;
>> }
>
> Thanks.
> Could this be added to the spec please?
https://github.com/dlang/dlang.org/pull/1429
More information about the Digitalmars-d
mailing list