Returns the value for the key key, inserting value lazily if it is not present.
Key.
Value to insert if the key is not present.
The value for the key key, or value if it was not present.
RehashingAA!(string[int]) aa; string hello = aa.require(42, "hello"); assert(hello == "hello"); assert(aa[42] == "hello");
Returns the value for the key key, inserting value lazily if it is not present.