Blaming the D language

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 21 23:42:05 PDT 2014


On 10/21/2014 11:06 PM, thedeemon wrote:

>      A[B] freshCleanAA;
>      aa = freshCleanAA;
>
> (where A[B] denotes the type of aa)
> That's it!

Alternative:

     A[B] aa;
     aa = aa.init;

Ali



More information about the Digitalmars-d mailing list