DMD 1.025 and 2.009 releases

"のしいか (noshiika)" noshiika at gmail.com
Wed Jan 2 04:42:37 PST 2008


Walter Bright wrote:
> のしいか (noshiika) wrote:
> 
> Replace:
> 
>>     const(C) c;
>>     c = new C(1); // error
> 
> with:
> 
>     const(C) c = new C(1);

Oh, then, I have to declare a variable each time I want to assign a new
value of const(class) object or a generic type, now...



More information about the Digitalmars-d-announce mailing list