How i can clear Associative Arrays

gedaiu szabobogdan at yahoo.com
Sat Apr 13 23:50:07 PDT 2013


On Saturday, 13 April 2013 at 21:10:16 UTC, Nicolas Guillemot 
wrote:
>> I think we should introduce a removeAll function for hashes. 
>> Either
>> through Druntime or through a UFCS function that we could put 
>> in
>> std.array or somewhere.
>
> How about .clear() for consistency with C++ containers?

It looks nice... i am waiting for it :P


More information about the Digitalmars-d-learn mailing list