Changing the behavior of the comma operator

Timon Gehr timon.gehr at gmx.ch
Wed Mar 26 15:02:44 PDT 2014


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.


More information about the Digitalmars-d mailing list