~/lightning

Lightning Talk: C++20 - A New Way of Meta-Programming?

Lightningat CppCon 2022 · 2022-09-11..09-16· [typescript]
links:none on file
slides:none on file

Five concrete C++20 techniques for template metaprogramming: compile-time branching with requires/constraints and if constexpr that selects overloads, immediately-invoked lambda unrolling to expand index sequences in place, NTTP support for string template parameters to pass string literals into templates, tuple-like deconstruction via structure-binding-to-pack / tuple conversion and using concepts plus constexpr transforms to write metaprograms that mirror runtime pipelines and even generate faster compile-time alternatives.

AI-written summary · about

  1. 0:00Intro
  2. 1:05Function Expression
  3. 2:23Strings
  4. 3:29Tuples
  5. 4:13STD Vector
~/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.