On 01/01/2016 04:27 PM, Minas Mina wrote:
> On Friday, 1 January 2016 at 13:59:35 UTC, Walter Bright wrote:
>> http://minas-mina.com/2016/01/01/associative-arrays/
>>
>> https://www.reddit.com/r/programming/comments/3z03ji/hash_tables_in_the_d_programming_language/
>>
> 
> 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)
    aa.remove(key);

Reply via email to