MapSummator.put

Updates the accumulator state by mapping each element of a range, a single value, or a default action through the provided function. (community summary)

  1. void put(Range r)
  2. void put(T x)
    struct MapSummator(alias fun, T, Summation summation)
    void
    put
    ()
    (
    T x
    )
    if (
    isMutable!T
    )