0_0_31623001_28084.cpp
0_0_31623001_28084.cpp(28) : error C2079: “t”使用未定义的 struct“compare::milk”
0_0_31623001_28084.cpp(29) : error C2440: “=”: 无法从“milk”转换为“int”
没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
0_0_31623001_28084.cpp(31) : error C2679: 二进制“=”: 没有找到接受“int”类型的右操作数的运算符(或没有可接受的转换)
0_0_31623001_28084.cpp(9): 可能是“Milk &Milk::operator =(const Milk &)”
尝试匹配参数列表“(milk, int)”时
|