IEnum.opApply

foreach iteration over the names and values in the enum and their indices.

  1. int opApply(int delegate(ref const(Name) name, ref const(Value) value) dg)
  2. int opApply(int delegate(ref size_t i, ref const(Name) name, ref const(Value) value) dg)
    interface IEnum
    int
    opApply
    (
    scope int delegate
    (
    ref size_t i
    ,
    ref const(Name) name
    ,
    ref const(Value) value
    )
    dg
    )

Meta