~/talk

Exploration of C++20 Meta Programming

Talkat CppCon 2020 · 2020-09-14..09-18· [compilers-and-language-design]
links:none on file
slides:none on file

Concrete C++20 features and effects: concepts and new type_traits (notably is_constant_evaluated) move logic to compile time and make constraints readable; using constraints as template-parameter requirements versus trailing requires changes when the compiler rejects candidates and can reduce compile time — constraint evaluation order matters. For lazy computation prefer expression proxies or classic expression templates; ranges would simplify many cases but the missing zip_with view forces heavier templates today. Examples show code, compile-time counts, and measurable compiler-time wins.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:24What are C++20 templates
  3. 9:47Adding templates to existing code
  4. 13:01Overload resolution and ADL
  5. 15:53Compile-time conditions before C++20
  6. 23:33Compile-time conditions with C++20
  7. 33:21Real-world use case with concepts
  8. 37:43Advanced compile-time logic methods
  9. 47:05Constraints evaluation performance
  10. 50:45Key takeaways and resources
~/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.