std::any_of Is the most important function added to C++
summary
Example shows a vector and predicate passed to std::any_of and a one‑line template implementation, then argues that countless ad hoc loops that return a boolean collapse to this single operation. Argues a 90/10 rule for day‑to‑day code, issues a concrete challenge to convert loops that return booleans, and points out standardizing any_of was a tiny "More algorithms" paper by Matt — a nudge to propose a standard algorithm when a pattern repeats.
AI-written summary · about
related talks
59mMetaprogramming: From Templates to Concepts
01h 02m“Operator Overloading: History, Principles and Practice”
52mConcepts: The Future of Generic Programming
57mIntroduction to C++ Template Metaprogramming
01h 31m105 C++ Algorithms in 1 line* of Raku (*each)
01h 03mIteration Revisited: A Safer Iteration Model for C++
55mCustom Overload Sets and Inline SFINAE for Truly Generic Interfaces
54mC++ Concepts for Developers
