On Monday, 15 July 2013 at 04:24:59 UTC, JS wrote: > ... I think closest solution you can get is having bunch of private enum definitions and combining them into single public one via compile-time reflection. Something like "mixin(generateEnum!(Red, Green, blue))".