~/talk

Meta++: Language Support for Advanced Generative Programming

Talkat CppCon 2019 · 2019-09-15..09-20· [compilers-and-language-design, c-and-cpp]
links:none on file
slides:none on file

Project claims C++-level static reflection and source-code injection that let meta programs generate class members, deferred until the meta-program end. A three–four year prototype (Clang/GCC work, GitLab repo, Compiler Explorer) implements class fragments, injection declarations, implicit fragment parameters, and generated vtable-style type-erasure for existential types. Examples show extensible bitfields, iterator facades, attribute-driven getters, and a produced vector of mixed static/dynamic producers; the prototype compiles many examples but remains work-in-progress.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 10:03Generative metaprogramming overview
  3. 15:21Extensible bit fields example
  4. 20:15Iterator facade with fragments
  5. 24:48Generating getters for book class
  6. 34:21Existential types with metaclasses
  7. 44:14Comparison with template metaprogramming
  8. 46:41Work in progress and future
  9. 51:42Q&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.