The fact that the base class constructor is called only from the last constructor is also significant: You cannot include more than one constructor initializer in a constructor definition.

 
  • 基类构造函数仅仅由最后那个构造函数调用,这个事实很明显:在构造函数定义里面,不能包含多于一个的构造函数初始化器。
今日热词
目录 附录 查词历史