Can I loop through (public) attributes of a C++ class?

后端 未结 2 648
孤独总比滥情好
孤独总比滥情好 2021-01-20 14:41

I found the answer for both C Structs and C# classes but came back empty-handed concerning C++. EDIT : In C, you can\'t. In C# it\'s the GetProperties() method.

2条回答
提交回复
热议问题