MutexedAA.aaOf

Returns the internal associative array, for when the wrapper is insufficient.

struct MutexedAA(AA : V[K], V, K)
ref inout
aaOf
()

Return Value

Type: auto ref

The internal associative array.

Examples

MutexedAA!(string[int]) aa;
aa.setup();  // important!
aa[1] = "one";
aa[2] = "two";
aa[3] = "three";

foreach (immutable k, const v; aa.aaOf)
{
    // ...
}