DMD 1.032 and 2.016 releases

Christian Kamm kamm-incasoftware at removethis.de
Wed Jul 9 13:34:17 PDT 2008


Sean Kelly wrote:
>     T fn(T)( T val ) { return val; }
> 
> Shouldn't the above be valid for all types?

Except for static arrays, it seems.

void fn(T)( ref T val ) {}

also excludes static arrays.

Christian


More information about the Digitalmars-d-announce mailing list