- Templates or Generics
The diagram below depicts the following facts
- Reflection is getting us closer to the compiler internals. They help us with how types are organized and to help us probe for more compiler details. Reflection is helping the user get more information about compiler internals.
- Templates are taking us towards implementing our own primitives. We are so close to doing code generation using techniques like meta template programming.
The day is not far when templates and reflection techniques will merge at some point giving the user full control from compiler internals to using the compiler interface.