On Friday, 27 November 2015 at 04:21:41 UTC, Nicholas Wilson wrote:
AA are weird in that AFAIK you need to "initialise" them before you try to look suff up in them else they crash. i.e.
int[string] foo;
// auto e = "1" in foo; // crash AA not initialised
foo[ "blah"] = 0;
foo.remove("blah");
auto e = "1" in foo; //doesn't crash

It's not true.
"Not initalzed" AA s just empty AA.
http://dpaste.dzfl.pl/82b38a2ad504

Reply via email to