An extremely bare-bones implementation of a reflection system with templating. This is meant to demo how you might implement a system that can allow for reflection-like behavior in a C++ application using a custom reflection system.
- There is currently a new standard for C++ reflection in the standard library. However, this demonstrates a simple reflection system you can build for your own purposes.
- This is primarily for educational purposes.
- Create a C++ project.
- Drop this in as your main file.
- Compile and run!
- Should be all you need!
Joseph Juma
You can use this code however you want, but there's no implied or express liability on my part. In other terms - MIT license.