~/talk

C++ Reflection: Back on Track

Talkat Meeting C++ 2024 · 2024-11-14..11-16· [rust]
links:none on file
slides:none on file

Claims that compile-time reflection is on track for C++26 and that P2996 proposal focuses on nearly complete introspection with minimal code injection, demonstrated by working prototypes, decide whether to watch. Examples include a generic command-line parser, automatic serialization, and a struct-of-arrays generator built with meta functions like substitute and define_aggregate plus splicers `[: :]` and the double caret operator. Two and a half experimental implementations run on Compiler Explorer (EDG, Bloomberg clang fork, Nvidia front end) and mostly work but remain buggy and non-production.

AI-written summary · about

  1. 0:00Introduction to reflection
  2. 1:14Defining reflection concepts
  3. 2:09Compile-time vs runtime
  4. 6:49Reflection in other languages
  5. 10:36Current C++ capabilities
  6. 14:31Reflection TS review
  7. 17:25The C++26 reflection proposal
  8. 34:31Practical reflection examples
  9. 44:49Experimental implementations
  10. 47:18Serialization with reflection
  11. 50:15Future directions and extensions
  12. 56:47Conclusion and Q&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.