SmartEnumCore.opApply

foreach iterator over the codes and descriptions of the enum and their indices.

  1. int opApply(int delegate(ref BaseType code, ref istring desc) dg)
  2. int opApply(int delegate(ref size_t index, ref BaseType code, ref istring desc) dg)
    template SmartEnumCore(BaseType)
    static
    int
    opApply
    (
    scope int delegate
    (
    ref size_t index
    ,
    ref BaseType code
    ,)
    dg
    )

Meta