MultiValueMap.opApply

opApply implementation to allow iterating over this map by all pairs of keys and values.

struct MultiValueMap(KeyType, ValueType, alias KeySort = (a, b) => a < b, alias KeyEquals = (a, b) => a == b)
const
int
opApply
(
int delegate
(
const ref KeyType
,
const ref ValueType
)
dg
)

Parameters

dg int delegate
(
const ref KeyType
,
const ref ValueType
)

The foreach body that uses each key -> value pair.

Return Value

Type: int

The result of the delegate call.