... constructor-declaration(构造函数声明) destructor-declaration(析构函数声明) static-constructor-declaration(静态构造函数声明) ...
基于16个网页-相关网页
类的成员包括在类中声明的所有成员,以及在该类的继承层次结构中的所有类中声明的所有成员(构造函数和析构函数除外)。
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.
应用推荐