DIP19: Remove comma operator from D and provision better syntactic support for tuples

deadalnix deadalnix at gmail.com
Sun Sep 23 18:31:08 PDT 2012


Le 24/09/2012 03:14, Andrei Alexandrescu a écrit :
> On 9/23/12 7:20 PM, Adam D. Ruppe wrote:
>> On Sunday, 23 September 2012 at 22:55:33 UTC, Timon Gehr wrote:
>>> I believe it is currently left-to-right for D, in all kinds of
>>> expressions, but DMD does not implement it yet.
>>
>> Yeah, I thought it was already defined.
>
> Actually it's right to left for assignments. In expr1 = expr2, expr2
> gets evaluated first.
>
> Andrei

Is it by implementation or by design ?


More information about the Digitalmars-d mailing list