-vgc Info ok?

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 18 07:30:42 PDT 2015


The following

string[string] myarray = ["key":"value"];
string entry;
entry = myarray["key"]; // => vgc: indexing an associative array 
may cause GC allocation

Why is _accessing_ an assoc treated as indexing it?


More information about the Digitalmars-d-learn mailing list