Constructor for '' must explicitly initialize the reference member


解决:定义A类,唯一构造函数里有参数时,B类继承A类,B类的初始化列表里需要对A构造函数初始化

相关