Enum literals, good? bad? what do you think?

Walter Bright newshound2 at digitalmars.com
Wed Jul 21 21:04:56 UTC 2021


On 7/21/2021 12:08 PM, russhy wrote:
> On Wednesday, 21 July 2021 at 06:12:20 UTC, zjh wrote:
>> On Tuesday, 20 July 2021 at 15:50:49 UTC, russhy wrote:
>>> Hello
>>
>>
>> And the default constructor,
>> Why can't it like `C++`: `T t;` That's all.
>> Many C++ programmers want to have constructors like `C++` as `T t{...};`.
> 
> yes that too.. if you can create DIP draft for it and post it on the forum too? 
> se we can have discussion about that too

It's been discussed many times. It comes up once a year or so.


More information about the Digitalmars-d mailing list