SmartEnumCore.opApply

foreach iterator over the codes and descriptions of the enum.

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

Meta