Learn C++ Advanced: Class Reflection

Learn C++ Advanced: Class Reflection

1. Class Reflection After analyzing simple classes and structures, we can further analyze the reflection of ordinary classes. There are generally several situations for reflecting a class: 1. Creating and matching objects by class name 2. Reflecting class member variables 3. Reflecting class member functions 4. Handling class inheritance relationships. Here, we will only deal … Read more