On Sunday, 3 January 2016 at 19:29:05 UTC, Martin Nowak wrote:
On 01/01/2016 04:27 PM, Minas Mina wrote:
On Friday, 1 January 2016 at 13:59:35 UTC, Walter Bright wrote:
Thanks for sharing this. I am the author. :)
There is a bug.
You should never do this b/c of iterator/range invalidation.
foreach (key; aa.keys)
The reference states that keys: "Returns dynamic array, the
elements of which are the keys in the associative array".
Isn't the array newly allocated?