How to clear associative array

Steven Schveighoffer schveiguy at yahoo.com
Fri Aug 1 09:02:29 PDT 2008


"Zarathustra"
> As in subject.
>
> Type [KeyType] array;
>
> array[new KeyType(...)] = new Type(...);
> ...
>
> delete array; // error

array = null;

-Steve 




More information about the Digitalmars-d-learn mailing list