Should we deprecate comma?
monarch_dodra
monarchdodra at gmail.com
Mon Mar 24 04:35:38 PDT 2014
On Monday, 24 March 2014 at 10:57:45 UTC, Regan Heath wrote:
> On Sun, 23 Mar 2014 20:56:25 -0000, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>> Discuss:
>> https://github.com/D-Programming-Language/dmd/pull/3399
>
> Would it have any effect on:
>
> int *p, q;
That's not a comma operator. So no. BTW, I'd *STRONGLY* urge you
to write that as:
int* p, q;
since in D, both "p" and "q" are of type "int*", unlike in C.
More information about the Digitalmars-d
mailing list