~/talk

Gazing Beyond Reflection for C++26

Talkat CppCon 2024 · on Friday, 2024-09-20· at 16:15· Adams A, 6700 North Gaylord Rockies Boulevard· [rust]
links:none on file
slides:none on file

Proposal P2996 aims to land value‑based reflection in C++26 and already shows working implementations in EDG and a Bloomberg fork of clang, with SG7 review passed. Key tools: a reflection operator + splice to turn declarations into values and back, token‑sequence (Q) injection with interpolation to generate real C++ code, and annotations-as-structural-values to guide generation. Demos build Tuple, a 100‑line type‑eraser, and a clap‑style CLI parser; examples compile on Compiler Explorer and emit useful diagnostics.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53C++ reflection fundamentals P2996
  3. 17:09P2996 features and examples
  4. 33:01Token injection proposal
  5. 47:34Token injection implementation
  6. 50:21Annotations for reflection
  7. 1:04:22Acknowledgments
  8. 1:07:40Q&A
~/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.