strong enums: why implicit conversion to basetype?

Trass3r un at known.com
Thu Jan 26 11:00:05 PST 2012


> I have argued for banning those operations on strong enums before, but  
> some objected to it because they wanted to use strong enums as bit flags.

Yep, that's what the other thread 'using enums for flags' is about.
But implicit conversions seem wrong in any case.


More information about the Digitalmars-d mailing list