0_0_39765192_31670.cpp
0_0_39765192_31670.cpp(42) : error C2664: “void std::priority_queue<std::tuple<int,int,int>,std::vector<std::tuple<int,int,int>,std::allocator<_Ty>>,std::greater<void>>::push(const std::tuple<int,int,int> &)”: 无法将参数 1 从“initializer-list”转换为“std::tuple<int,int,int> &&”
with
[
_Ty=std::tuple<int,int,int>
]
原因如下: 无法从“initializer-list”转换为“std::tuple<int,int,int>”
无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_39765192_31670.cpp(45) : error C2143: 语法错误 : 缺少“;”(在“[”的前面)
0_0_39765192_31670.cpp(45) : error C2337: “currentCost”: 未找到特性
0_0_39765192_31670.cpp(45) : error C2337: “currentCity”: 未找到特性
0_0_39765192_31670.cpp(45) : error C2337: “currentFuel”: 未找到特性
0_0_39765192_31670.cpp(45) : error C2143: 语法错误 : 缺少“;”(在“=”的前面)
0_0_39765192_31670.cpp(48) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(49) : error C2065: “currentCost”: 未声明的标识符
0_0_39765192_31670.cpp(53) : error C2065: “currentCost”: 未声明的标识符
0_0_39765192_31670.cpp(53) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(53) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(57) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(58) : error C2065: “currentCost”: 未声明的标识符
0_0_39765192_31670.cpp(58) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(60) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(60) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(61) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(61) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(62) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(62) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(62) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译
|