int[string] aa; aa["myKey"] = 42; int* myPointer = "myKey" in aa;
Is it possible that due to rehashing or something D will decide to move the associative array's values around, resulting in `myPointer` no longer pointing to `aa["myKey"]`?
Idan Arye via Digitalmars-d-learn Tue, 06 Jan 2015 08:20:54 -0800
int[string] aa; aa["myKey"] = 42; int* myPointer = "myKey" in aa;
Is it possible that due to rehashing or something D will decide to move the associative array's values around, resulting in `myPointer` no longer pointing to `aa["myKey"]`?