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