Steven Schveighoffer <schveiguy at yahoo.com> wrote: > oops, D1 doesn't support that type of enum ;) I think you've got the idea. The code version (D_Version2) { mixin("some very specific code"); } works in any version of D, current or future.