Template Function lanelet::utils::sum

Function Documentation

template<typename Range, typename Func>
auto lanelet::utils::sum(Range &&r, Func f)

Wrapper around std::accumulate for summing up the result of Func over a range.