"bearophile" <[email protected]> wrote in message 
news:[email protected]...
> 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.
>

That's right. And I think it's also allowed for array literals. Very handly 
feature. Although I had no idea that C++ also allowed it.


Reply via email to