书上构造函数代码如下:
CerealPack(double length, double width, double height, const string cerealType):Carton{ length, width, height,"cardboard" }, Contents{ cerealType }
{......;}
CerealPack类继承于Carton类和Contents类,现在对:后的 Carton{ length, width, height,"cardboard" }, Contents{ cerealType }具体对应于前面的那部分不明确,有没有大神能解释一下,"cardboard" 这一字符串为何没有在CerelPack中写明