"C++23’s New Fold Algorithms" by Sy Brand
https://devblogs.microsoft.com/cppblog/cpp23s-new-fold-algorithms/
"C++20 added new versions of the standard library algorithms which take
ranges as their first argument rather than iterator pairs, alongside
other improvements. However, key algorithms like std::accumulate were
not updated. This has been done in C++23, with the new
std::ranges::fold_* family of algorithms. The standards paper for this
is P2322 and was written by Barry Revzin. It been implemented in Visual
Studio 2022 version 17.5. In this post I’ll explain the benefits of the
new “rangified” algorithms, talk you through the new C++23 additions,
and explore some of the design space for fold algorithms in C++."
Lynn