Lightning Talk: The Finer Points of Parameter Packs
summary
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
related talks
53mC++ Variadic Templates and Parameter Packs
05mLightning Talk: Finding My First Compiler Bug
04mGeneralized fold expressions
01h 03mBack to Basics: Templates (part 2 of 2)
01h 06m“C++ Metaprogramming: Journey from simple to insanity and back"
01h 00mRemoving Metaprogramming From C++, Part 1 of N: constexpr Function Params
04mLightning Talk: A Journey Back In Time - C++ Evolution
47mReducing Template Compilation Overhead, Using C++11, 14, 17, and 20.
