Is there a way to specify and use list of all data members belonging to a class

前端 未结 0 1477
小鲜肉
小鲜肉 2021-02-05 09:31

When developing C++ code, I often find myself trying to do something for all the data members belonging to a class. Classic examples are in the copy constructor and assignment o

相关标签:
回答
  • 消灭零回复
提交回复
热议问题