...++ 构造函数 派生类构造函数 拷贝构造函数 转换构造函数[gap=859]Key words: C++; constructor; derived class constructor; copy constructor; conversion constructor...
基于1个网页-相关网页
The values that are used must be determined from the arguments supplied to the derived class constructor.
使用的值必须从提供给衍生类别建构函式的引数中判断。
The primary constructor in a derived class must invoke one of the parent class constructors, either the primary constructor or an auxiliary constructor.
子类的主构造函数必须调用父类的一个构造函数,无论是主构造函数或者是辅助构造函数。
For details on how each instance variable is computed, you can look at the constructor method for the class where all these values are derived.
关于如何计算每个实例变量的详细信息,可以查阅该类的构造函数方法,所有这些值都源自那里。
应用推荐