Keynote: Reflection in C++26 - Welcome to v0.1 of the meta::[[verse]]!
summary
Proposal aims to add std::meta reflection to C++26 with operators like lift/splice and a single meta object type (meta::info) implemented in compiler Explorer via EDG, letting code inspect and generate types at compile time. Demos include a reflection-based logger, a Clap-style command-line arg parser, and a paper on reflecting function parameter names that reveals a surprising mismatch: different names in declarations vs definitions. Three fixes surface: no guarantee, compile-time consistency check (fail), or canonical attribute; pipeline and std::type dependencies complicate adoption.
AI-written summary · about
chapters (10)
- 0:00Welcome and introduction
- 1:14Speaker introduction and background
- 2:39Brief history of Reflection
- 9:00Reflection proposal for C++26
- 15:11Reflection operators and splicers
- 24:32Reflection examples and use cases
- 32:26Reflection-based libraries and challenges
- 49:59Customization points and Reflection
- 57:04Pipeline integration and guarantees
- 1:03:34Summary and future outlook
related talks
01h 04mWelcome to v1.0 of the meta::[[verse]]!
37mWelcome to v1.0 of the meta::[[verse]]!
01h 03mC++ Reflection: Back on Track
01h 37mReflection: Compile-Time Introspection of C++
01h 01mReflection
59mMeta++: Language Support for Advanced Generative Programming
46mBuilding a C++ Reflection System in One Weekend Using Clang and LLVM
55mC++14 Reflections Without Macros, Markup nor External Tooling..
