How i can clear Associative Arrays

gedaiu szabobogdan at yahoo.com
Sat Apr 13 01:49:02 PDT 2013


Hi,

I have an associative array: string values[string], and i want to 
remove all the values from this array. I looked at the 
documentation here: http://dlang.org/hash-map.html and i can't 
see any method for this action.

There is a nice way to remove the values, or I should use foreach?

Thanks!


More information about the Digitalmars-d-learn mailing list