Member access of __gshared global object

hane via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 6 06:56:58 PDT 2014


On Wednesday, 6 August 2014 at 04:14:51 UTC, Puming 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?

workaround:

string[string] aa;
assert(aa is null);

aa[""] = "";
aa.remove("");
assert(aa !is null);


More information about the Digitalmars-d-learn mailing list