Member access of __gshared global object

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 6 07:36:22 PDT 2014


On Wednesday, 6 August 2014 at 14:22:32 UTC, Dragos Carp wrote:
>>
>> 1. The only way that I can initialize it is to assign a value. 
>> But I want to initialize an empty AA, is that possible?
>
> --snip--
>
> This means if you want an empty AA you can write
>
> aa1 = null;
>
> or more explicit
>
> aa1 = typeof(aa1).init;

This would defeat the purpose, see the original post.


More information about the Digitalmars-d-learn mailing list