Smooth transition to D2 for Tango users?

Sergey Gromov snake.scaly at gmail.com
Mon Sep 22 17:51:55 PDT 2008


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.



More information about the Digitalmars-d mailing list