Ellery Newcomer:
> Giving enums a tupleof property would make more sense, I think. I've
> always wondered why they don't have it.

While we wait some years for a saner solution, you may use this bad looking 
hack (D2):
http://www.digitalmars.com/d/2.0/phobos/std_typecons.html#defineEnum

Bye,
bearophile

Reply via email to