~/talk

Reflection API for Modern C++

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [compilers-and-language-design]
slides:none on file

Presents a concrete compile-time reflection API built on the Reflection TS with a Clang fork and a GitHub repo of working examples, including Reflection TS usage, a functional-style set of operations (mirror operator, meta objects, sequences, placeholders) and composable algorithms like transform/filter/find. Shows working features: enum-to-string and RPC generator for stub/client and scripting bindings (ChaiScript) plus hashing of virtual interfaces. API exposes 100+ metadata operations, supports code splicing patterns, and demonstrates fully working examples in the linked repository.

AI-written summary · about

  1. 0:00Start
  2. 0:24The Agenda
  3. 2:00Meta Object
  4. 7:11Reverse of Reflection
  5. 11:24Meta Object Classification Functions
  6. 18:34Get Full Name
  7. 28:05Basic Iteration
  8. 29:11Placeholders and Placeholder Expressions
  9. 29:35Placeholder Expressions
  10. 32:36Comparators
  11. 37:58Filter and Remove
  12. 38:28Virtual Functions
  13. 39:00Find the First One That Satisfies a Predicate
  14. 49:03Overloaded Functions
  15. 51:09Structures
  16. 52:53Data Members
  17. 53:44Recap
  18. 55:05Convert Enumerators to Strings
  19. 57:59Remote Procedure Calls
  20. 58:25Reflection To Replace the Code Generator
  21. 1:00:17Reflection of Expressions
  22. 1:04:02Scripting
  23. 1:05:22Dispatching
  24. 1:14:47Use Cases
  25. 1:16:04Links
  26. 1:16:34What's Next for Reflection
~/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.