Reflection operator (P2320) Is an expression Produces a comple-time (as in constexpr) value that describes its operand
8
Reflection type (P1240)
9
Testing our indirection generator
10
Reflection library (P1240)
11
Making pointers iteratively
12
Splice operator
13
Splice equation
14
A reflective indirection generator
15
Expansion statements
16
A trivial implementation
17
Equivalent specialization
18
Serialization algorithm
19
Sketch of algorithm
20
Serialization as a facility
21
The main structure
22
Serialization interface
23
Serializing base cases
24
Serializing composites
25
Generic and extensible
26
Deserialization
27
Deserializing classes
Description:
Explore compile-time introspection in C++ through this comprehensive ACCU 2021 conference talk. Delve into the core concepts of reflection and reification, examining various methods of language support, including the current Reflection TS approach and alternative considerations. Learn how reflection can enhance traditional generic programming techniques to develop more general algorithms based on class property introspection. Discover the potential of static reflection as a powerful upcoming feature for C++23, supported by advanced constexpr capabilities. Gain insights from examples demonstrating reflection's application in augmenting generic programming and creating versatile algorithms. Understand the implementation of reflection operators, types, and libraries, along with practical applications such as generating indirection, creating iterative pointers, and developing serialization algorithms.