The OpenD Programming Language

each.each

  1. Flag!"each" each(Range r)
    template each(alias fun = "a")
    Flag!"each"
    each
    (
    Range
    )
    (
    Range r
    )
    if (
    !isForeachIterable!Range &&
    (
    isRangeIterable!Range ||
    __traits(compiles, typeof(r.front).length)
    )
    )
  2. Flag!"each" each(Iterable r)

Parameters

r Range

range or iterable over which each iterates

Meta