new static if bug Re: DMD 1.032 and 2.016 releases

Tom S h3r3tic at remove.mat.uni.torun.pl
Thu Jul 10 02:37:51 PDT 2008


Don wrote:
> Fortunately, the fix is easy -- I think typeof(x.init) will always work.

Except for static arrays: typeof((int[2]).init) == int


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode


More information about the Digitalmars-d-announce mailing list