On 9/1/10 16:39 CDT, Nick Sabalausky wrote:
"Andrei Alexandrescu"<seewebsiteforem...@erdani.org>  wrote in message
news:i5mfji$2qt...@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

Reply via email to