Wrong enum comparisons

bearophile bearophileHUGS at lycos.com
Mon May 28 14:01:43 PDT 2012


Andrei Alexandrescu:

> I do agree that it's wrong to _conflate_ the enumerated value 
> with it ordinal,

> I agree it is possible to fix enum.

Thank you for your answers Andrei. I have filed an enhancement 
request:
http://d.puremagic.com/issues/show_bug.cgi?id=8157

Issue 8157 is a subset of issue 3999, so they don't interfere 
with each other in Bugzilla.

I'd like to receive a comment from Walter :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list