TwoWayMap.opApply

foreach iterator over the mapping, including each value's index.

Note that the order of iteration over the map is determined by the elements of type A (the keys).

  1. int opApply(int delegate(ref KeyType a, ref ValueType b) dg)
  2. int opApply(int delegate(ref size_t index, ref KeyType a, ref ValueType b) dg)
    struct TwoWayMap(A)
    int
    opApply
    (
    scope int delegate
    (
    ref size_t index
    ,,)
    dg
    )

Meta