MutexedAA.clear

Clears the internal associative array.

struct MutexedAA(AA : V[K], V, K)
void
clear
()

Examples

MutexedAA!(string[int]) aa;
aa.setup();  // important!

aa[1] = "one";
aa[2] = "two";
assert(aa.has(1));

aa.clear();
assert(!aa.has(2));