RehashingAA.opIndex

Returns the value for the passed key in the internal associative array.

struct RehashingAA(AA : V[K], V, K)
ref
opIndex
(
K key
)

Parameters

key K

Key.

Return Value

Type: auto ref

The value for the key key.

Examples

RehashingAA!(int[string]) aa;
aa["abc"] = 123;
writeln(aa["abc"]);  // 123

Meta