Lookup value associated with key and return the address to it. If the key has not been added, it adds it and returns the address to the new value.
Lookup and return the value associated with key, if the key has not been added, it returns null.
Gets a range of key/values for aa.
auto foo = new Object(); auto bar = new Object(); AssocArray!(Object, Object) aa; assert(aa[foo] is null); assert(aa.length == 0); auto fooValuePtr = aa.getLvalue(foo); *fooValuePtr = bar; assert(aa[foo] is bar); assert(aa.length == 1);
See Implementation