"Regan Heath" <regan at netmail.co.nz> wrote in message news:ffi0ne$vb1$2 at digitalmars.com... > Which version of DMD are you using? > > With 2.005 I get an error of "Error: declaration T is already defined" on > the 2nd static if line. 1.022