Is there a direct way to clear the content of associative arrays in one step? I would expect a statement like "arr.clear();", "arr.erase();" or "arr.removeall();" to do the work, but couldn't find one. Instead it seams I would have to use the following wordy an inefficient approach: foreach(x; arr) arr.remove(x);