A new dynamic array of all keys, as returned by the associative array's keys function.
RehashingAA!(int[string]) aa; aa["abc"] = 123; aa["def"] = 456; aa["ghi"] = 789; auto keys = aa.keys; // allocate it once // Order cannot be relied upon foreach (key; [ "abc", "def", "ghi" ]) { assert(key in aa); }
Wraps the internal associative array's keys function.