~/talk

std::any_of Is the most important function added to C++

Talkat CppCon 2019 · 2019-09-15..09-20· [compilers-and-language-design]
slides:none on file

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

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.