在什么情况下在C++中使用structvs a 更好class?
struct
class
c++ oop struct ooad class
c++ ×1
class ×1
ooad ×1
oop ×1
struct ×1