Strongly typed enums

Adam Ruppe destructionator at gmail.com
Thu Aug 25 06:10:22 PDT 2011


I think I'm for this. If you provide a name with no base type,
it should work like this.

Bearophile, have you considered making a pull request? I doubt it
would be too hard in the compiler, and then we can try it to see
what code breaks.

I imagine if any code breaks, it'd be easy enough to fix with
changing to the item or inserting a cast.


More information about the Digitalmars-d mailing list