On 9/3/10 11:58 CDT, bearophile wrote:
Andrej Mitrovic:I just stumbled upon this in std.typecons: http://www.digitalmars.com/d/2.0/phobos/std_typecons.html#defineEnum Might be useful from some, I guess.Thank you. I think std.typecons.defineEnum() may be removed. I don't think it's useful now. Bye, bearophile
Yah, that artifact predates the introspection means that make printing and parsing for enums possible.
Andrei