two questions on enums
bearophile
bearophileHUGS at lycos.com
Thu Apr 3 15:34:17 PDT 2014
Eric:
> I disagree. If you just think of a class type enum as a class
> type,
> then what you say makes sense. But if you instead think of it
> as a more powerful enum then it can enhance data safety in a
> program.
I was speaking about the current D enum, as implemented and as
designed. Regarding your enhancements, I need some examples or a
better explanation to understand your point.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list