RehashingAA.byKeyValue

Wraps the internal associative array's byKeyValue function.

struct RehashingAA(AA : V[K], V, K)
inout
byKeyValue
()

Return Value

Type: auto

A new range of all key-value pairs, as returned by the associative array's byKeyValue function.

Examples

RehashingAA!(int[string]) aa;
aa["abc"] = 123;
aa["def"] = 456;
aa["ghi"] = 789;

foreach (key, value; aa.byKeyValue)
{
    writeln(key, " = ", value);
}

Meta