enhancing enums

Phil Deets pjdeets2 at gmail.com
Tue Dec 8 16:55:21 PST 2009


On Tue, 08 Dec 2009 17:57:25 -0500, bearophile <bearophileHUGS at lycos.com>  
wrote:

> hehe45:
>
>> In c++ it is valid syntax to have trailing commas at the and of enum  
>> definitions:
>> enum {a, b, c, };
>> This would be a useful addition to D too.
>
> I think that's already possible in D1.
>

and in D2.



More information about the Digitalmars-d mailing list