The STL is more than std::accumulate
Conor Hoekstra gives great talks on algorithms. Notably, “Algorithm Intuition”
(C++Now 2019) and “Better Algorithm Intuition” (code::dive 2019).
However, every time I watch one of his talks where he uses STL algorithms
to solve some programming problem, I come away feeling like
Let’s look at two examples of “using STL algorithms to solve problems” in this limited sense,
and how else we might solve them. Both of these examples are taken from Conor’s CppCon 2020 talk
“Structure and Interpretation of Computer Programs: SICP.”
Arthur O’Dwyer