[Issue 3999] Enum equality to an int

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 22 13:42:39 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3999



--- Comment #1 from bearophile_hugs at eml.cc 2010-03-22 13:42:16 PDT ---
As div0 reminds me, the D docs state:

A named enum member can be implicitly cast to its EnumBaseType,

But I am not sure this is the best design.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list