Changing the behavior of the comma operator

Kagamin spam at here.lot
Thu Mar 27 04:45:50 PDT 2014


On Thursday, 27 March 2014 at 10:39:58 UTC, Regan Heath wrote:
> On Wed, 26 Mar 2014 22:02:44 -0000, Timon Gehr 
> <timon.gehr at gmx.ch> wrote:
>
>> On 03/26/2014 05:19 PM, H. S. Teoh wrote:
>>> 	int x = 1, 5;	// hands up, how many understand what this 
>>> does?
>>
>> Nothing. This fails to parse because at that place ',' is 
>> expected to be a separator for declarators.
>
> Spectacularly proving his point :p

Did he want to kill the declaration statement too?


More information about the Digitalmars-d mailing list