Changing the behavior of the comma operator

Regan Heath regan at netmail.co.nz
Thu Mar 27 03:39:56 PDT 2014


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

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list