Tomek Sowiński napisał: > enum Eh { Ah, Oh, Uh } // plain vanilla enum > mixin EnumUtils!Eh; // that's all you need, magic happens here
Actually, you don't even need the mixin, just 2 functions... -- Tomek
Tomek Sowiński napisał: > enum Eh { Ah, Oh, Uh } // plain vanilla enum > mixin EnumUtils!Eh; // that's all you need, magic happens here
Actually, you don't even need the mixin, just 2 functions... -- Tomek