~/lightning

Lightning Talk: The Finer Points of Parameter Packs

Lightningat C++ on Sea 2019 · 2019-02-04..02-06· [c-and-cpp]
links:none on file
slides:none on file

Demonstrates compile‑time recursion over parameter packs using template recursion, then shows it breaks when the base case and recursive case swap order, producing unintended instantiations and multiple function variants. Introduces a brittle fix with type wrappers to stabilize overload resolution, then replaces SFINAE-style control with C++17 constexpr if to get predictable compile‑time control flow. The final technique compiles and behaves as intended.

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.