Zarathustra <adam.chrapkowski at gmail.com> wrote: > Thanks Simen. I hoped D will be bugless and static if will be possible > inside enums. Static if will probably never be usable inside enums. The best way to get something like it - at least currently - is to use string mixins and/or the defineEnum template in std.typecons. -- Simen