How to get all properties/variables of a class at runtime/dynamically in C++
c++
Solution
There is no way to do what you are asking in C++. As suggested in the other answer, RTTI can help you, but is probably not what you need.
If you describe in more details what you are trying to do and why you need reflection, we can probably suggest other solutions in C++.
Problem
is this possible to get all the variables and methods of a class at runtime? if yes then how? I did this in C# using Reflection. but now i am working in C++.