RehashingAA.opAssign

Inherit a native associative array into aa.

struct RehashingAA(AA : V[K], V, K)
void
opAssign
(
V[K] aa
)

Parameters

aa V[K]

Other associative array.

Examples

RehashingAA!(int[string]) aa;
int[string] nativeAA;

nativeAA["abc"] = 123;
aa = nativeAA;
assert(aa["abc"] == 123);