Bug 3999 and 4261

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Sep 1 14:46:25 PDT 2010


On 9/1/10 16:39 CDT, Nick Sabalausky wrote:
> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org>  wrote in message
> news:i5mfji$2qtd$1 at digitalmars.com...
>>
>> I think it's a good enhancement. C++'s good old enum has been instrumental
>> in finding a few bugs and clarifying a few interfaces in a project at
>> work. Based on that experience I'd say that there's a chance more
>> restrictive is better. We need to find a principled way to define
>> semantics though - if we disable comparison it really means we're
>> disabling implicit conversion.
>>
>
> "...it really means we're disabling implicit conversion"
>
> And that's a problem?

It's bound to break some code.

Andrei


More information about the Digitalmars-d mailing list