Why no std::ranges::accumulate() but std::ranges::count() exists in C++20?

  algorithm, c++, c++20, std-ranges, stl

In C++20, there exists std::ranges::count(), but no std::ranges::accumulate().

Just an oversight by the C++ committee?

Source: Windows Questions C++

LEAVE A COMMENT