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

Jonathan M Davis jmdavisProg at gmx.com
Sun Sep 23 15:40:16 PDT 2012


On Monday, September 24, 2012 00:30:27 jerro wrote:
> If D is like C in this regard, then the function above cannot
> replace comma operator, because the order of evaluation is
> defined for comma operator, but not for function parameters.

I believe that it's currently undefined for D, but Walter wants to define it so 
that it's left-to-right in an effort to eliminate bugs resulting from the 
varying order of function argument evaluation. He just hasn't gotten around to 
doing it yet.

- Jonathan M Davis


More information about the Digitalmars-d mailing list