var.opApply

You can foreach over a var.

  1. int opApply(int delegate(ref var) dg)
  2. int opApply(int delegate(var, ref var) dg)
    struct var
    int
    opApply
    (
    scope int delegate
    (,
    ref var
    )
    dg
    )

Meta