var.opApply

int opApply(scope int delegate(const string, ref var) dg)

Iterate over map entries as (key, ref value) pairs. For non-map types, iteration yields zero elements.

int opApply(scope int delegate(ref var) dg)

Foreach iteration support over array elements.

int opApply(scope int delegate(size_t, ref var) dg)

Foreach iteration with index over array elements.