...++ 构造函数 派生类构造函数 拷贝构造函数 转换构造函数[gap=859]Key words: C++; constructor; derived class constructor; copy constructor; conversion constructor...
基于1个网页-相关网页
C + + : Bad Form to Call Base Class Asssignment Operator in Derived Class Constructor?
在派生类的构造函数调用基类指派算子不好?
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.
子类的主构造函数必须调用父类的一个构造函数,无论是主构造函数或者是辅助构造函数。
应用推荐