MapSummator.sum

Returns the sum of values after applying `fun` to each element, using the specified `Summation` method. (community summary)

struct MapSummator(alias fun, T, Summation summation)
const @property
F
sum
(
F = T
)
()
if (
isMutable!T
)