opApply and const

Robert Fraser fraserofthenight at gmail.com
Sun Dec 9 00:49:15 PST 2007


Janice Caron wrote:
>     invarant C = new C;
> 
> will fail to compile, and there is no "inew".

invariant C = cast(invariant) new C();



More information about the Digitalmars-d mailing list