0_0_2546284_29240.cpp
0_0_2546284_29240.cpp(12) : error C2057: 应输入常数表达式
0_0_2546284_29240.cpp(12) : error C2466: 不能分配常数大小为 0 的数组
0_0_2546284_29240.cpp(12) : error C2057: 应输入常数表达式
0_0_2546284_29240.cpp(12) : error C2466: 不能分配常数大小为 0 的数组
0_0_2546284_29240.cpp(12) : error C2087: “v” : 缺少下标
0_0_2546284_29240.cpp(12) : error C2133: “v” : 未知的大小
0_0_2546284_29240.cpp(14) : error C2057: 应输入常数表达式
0_0_2546284_29240.cpp(14) : error C2466: 不能分配常数大小为 0 的数组
0_0_2546284_29240.cpp(14) : error C2133: “it” : 未知的大小
0_0_2546284_29240.cpp(24) : error C2059: 语法错误 : “=”
0_0_2546284_29240.cpp(25) : error C2059: 语法错误 : “[”
0_0_2546284_29240.cpp(30) : error C2664: “std::pair<_Ty1,_Ty2>::pair(const std::pair<_Ty1,_Ty2> &)” : 不能将参数 1 从“std::_Tree<_Traits>::iterator”转换为“const std::pair<_Ty1,_Ty2> &”
with
[
_Ty1=int,
_Ty2=int
]
and
[
_Traits=std::_Tmap_traits<int,int,std::less<int>,std::allocator<std::pair<const int,int>>,true>
]
and
[
_Ty1=int,
_Ty2=int
]
原因如下: 无法从“std::_Tree<_Traits>::iterator”转换为“const std::pair<_Ty1,_Ty2>”
with
[
_Traits=std::_Tmap_traits<int,int,std::less<int>,std::allocator<std::pair<const int,int>>,true>
]
and
[
_Ty1=int,
_Ty2=int
]
无构造函数可以接受源类型,或构造函数重载决策不明确
|