类的成员包括在类中声明的所有成员,以及在该类的继承层次结构中的所有类中声明的所有成员(构造函数和析构函数除外)。
A class's members include all the members declared in the class, along with all members (except constructors and destructors) declared in all classes in its inheritance hierarchy.
结构不能声明默认构造函数(没有参数的构造函数)或析构函数。
A struct may not declare a default constructor (a constructor without parameters) or a destructor.
结构不能声明默认构造函数(没有参数的构造函数)或析构函数。
A struct may not declare a default constructor (a constructor without parameters) or a destructor.
应用推荐