~/talk

“Compile-time programming and reflection in C++20 and beyond”

Talkat CppCon 2018 · 2018-09-23..09-28· [compilers-and-language-design]
links:none on file
slides:none on file

Roadmap for C++ compile-time programming: C++20 expands constexpr to allow allocation in constexpr, limited try/catch and virtual calls plus promotion of compile-time allocations into the data segment so std::vector and std::string can be constexpr; a new query API (Reflection TS) will present AST nodes as constexpr objects and use unreflexpr to materialize types; support functions that must evaluate at compile time via consteval/immediate functions and detect context with is_constant_evaluated; token-sequence injection for code generation is planned later.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:05Why compile-time programming
  3. 10:17Expanding constexpr capabilities
  4. 23:44Challenges and limitations
  5. 33:25Immediate functions and evaluation
  6. 38:25Reflection API overview
  7. 48:55Code injection concepts
  8. 50:23Expected C++20 and beyond timeline
  9. 1:00:00Q&A session
~/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.