0_0_10122418_4409.cpp
0_0_10122418_4409.cpp(51) : error C2926: “BFS::Point” : 没有链接的类型不能用作模板参数
0_0_10122418_4409.cpp(57) : error C2664: “std::queue<_Ty>::push” : 不能将参数 1 从“BFS::Point”转换为“const std::queue<_Ty>::value_type &”
with
[
_Ty=int
]
and
[
_Ty=int
]
原因如下: 无法从“BFS::Point”转换为“const std::queue<_Ty>::value_type”
with
[
_Ty=int
]
没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
0_0_10122418_4409.cpp(60) : error C2440: “初始化” : 无法从“std::queue<_Ty>::value_type”转换为“BFS::Point”
with
[
_Ty=int
]
无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_10122418_4409.cpp(75) : error C2664: “std::queue<_Ty>::push” : 不能将参数 1 从“BFS::Point”转换为“const std::queue<_Ty>::value_type &”
with
[
_Ty=int
]
and
[
_Ty=int
]
原因如下: 无法从“BFS::Point”转换为“const std::queue<_Ty>::value_type”
with
[
_Ty=int
]
没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
|