0_0_24655872_5885.cpp
0_0_24655872_5885.cpp(58) : error C2923: “std::map”: 对于参数“_Kty”,“std::make_pair”不是有效的 模板 类型变量
VC2013\INCLUDE\utility(267) : 参见“std::make_pair”的声明
VC2013\INCLUDE\utility(267) : 参见“std::make_pair”的声明
VC2013\INCLUDE\utility(267) : 参见“std::make_pair”的声明
0_0_24655872_5885.cpp(58) : error C2133: “mpp”: 未知的大小
0_0_24655872_5885.cpp(58) : error C2512: “std::map”: 没有合适的默认构造函数可用
0_0_24655872_5885.cpp(63) : error C2662: “void std::_Tree<_Traits>::clear(void) throw()”: 不能将“this”指针从“std::map”转换为“std::_Tree<_Traits> &”
原因如下: 无法从“std::map”转换为“std::_Tree<_Traits>”
转换要求第二个用户定义的转换运算符或构造函数
0_0_24655872_5885.cpp(68) : error C2678: 二进制“[”: 没有找到接受“std::map”类型的左操作数的运算符(或没有可接受的转换)
VC2013\INCLUDE\map(224): 可能是“_Ty &std::map<_Kty,_Ty,_Pr,_Alloc>::operator [](const _Kty &)”
VC2013\INCLUDE\map(172): 或 “_Ty &std::map<_Kty,_Ty,_Pr,_Alloc>::operator [](_Kty &&)”
尝试匹配参数列表“(std::map, std::pair<int,int>)”时
0_0_24655872_5885.cpp(69) : error C2678: 二进制“[”: 没有找到接受“std::map”类型的左操作数的运算符(或没有可接受的转换)
VC2013\INCLUDE\map(224): 可能是“_Ty &std::map<_Kty,_Ty,_Pr,_Alloc>::operator [](const _Kty &)”
VC2013\INCLUDE\map(172): 或 “_Ty &std::map<_Kty,_Ty,_Pr,_Alloc>::operator [](_Kty &&)”
尝试匹配参数列表“(std::map, std::pair<int,int>)”时
|