Changing the behavior of the comma operator

Regan Heath regan at netmail.co.nz
Thu Mar 27 05:37:00 PDT 2014


On Thu, 27 Mar 2014 11:45:50 -0000, Kagamin <spam at here.lot> wrote:

> 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?

No.

R

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


More information about the Digitalmars-d mailing list