~/talk

Beautiful Folds

Talkat CppCon 2019 · 2019-09-15..09-20· [c-and-cpp, functional-programming]
links:none on file
slides:none on file

Shows how C++17 fold expressions replace handwritten variadic template recursion to produce clearer, safer code; demonstrates concrete patterns for variadic reductions (sum, logical and/or, argument forwarding) and tuple unpacking, with working examples that compile on GCC and Clang under -std=c++17. Includes a one-header implementation and before/after snippets so the payoff—less boilerplate, fewer edge-case bugs, and simpler error messages—is immediately verifiable.

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.