Hi,
Is it possible in C++ to dynamically (during run-time) get a list of all members of the class?
Greetings
Hi,
Is it possible in C++ to dynamically (during run-time) get a list of all members of the class?
Greetings
No, not without doing some work at compile time first manually. C++ has no reflection. Qt works around this with its moc
system which scans your source files and generates meta data for all Qt (and inherited) classes