Bug 3999 and 4261

Nick Sabalausky a at a.a
Wed Sep 1 14:39:49 PDT 2010


"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?




More information about the Digitalmars-d mailing list