Guest
Login
跳过导航链接

Compile Error:

  
(22) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
(22) : error C2440: “初始化”: 无法从“std::_Tree<_Traits>::iterator”转换为“int”
        with
        [
            _Traits=std::_Tmap_traits<int,int,std::less<int>,std::allocator<std::pair<const int,int>>,false>
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
(22) : error C2784: “bool std::operator !=(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)”: 无法从“int”为“const std::_Tree<_Traits> &”推导 模板 参数
        VC8\include\xtree(1366) : 参见“std::operator !=”的声明
(22) : error C2784: “bool std::operator !=(const std::istream_iterator<_Ty,_Elem,_Traits,_Diff> &,const std::istream_iterator<_Ty,_Elem,_Traits,_Diff> &)”: 无法从“int”为“const std::istream_iterator<_Ty,_Elem,_Traits,_Diff> &”推导 模板 参数
        VC8\include\iterator(277) : 参见“std::operator !=”的声明
(22) : error C2784: “bool std::operator !=(const std::allocator<_Ty> &,const std::allocator<_Other> &) throw()”: 无法从“int”为“const std::allocator<_Ty> &”推导 模板 参数
        VC8\include\xmemory(181) : 参见“std::operator !=”的声明
(22) : error C2784: “bool std::operator !=(const std::istreambuf_iterator<_Elem,_Traits> &,const std::istreambuf_iterator<_Elem,_Traits> &)”: 无法从“int”为“const std::istreambuf_iterator<_Elem,_Traits> &”推导 模板 参数
        VC8\include\xutility(2152) : 参见“std::operator !=”的声明
(22) : error C2784: “bool std::operator !=(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)”: 无法从“int”为“const std::reverse_iterator<_RanIt> &”推导 模板 参数
        VC8\include\xutility(1834) : 参见“std::operator !=”的声明
(22) : error C2784: “bool std::operator !=(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)”: 无法从“int”为“const std::pair<_Ty1,_Ty2> &”推导 模板 参数
        VC8\include\utility(68) : 参见“std::operator !=”的声明
(22) : error C2677: 二进制“!=”: 没有找到接受“std::_Tree<_Traits>::iterator”类型的全局运算符(或没有可接受的转换)
        with
        [
            _Traits=std::_Tmap_traits<int,int,std::less<int>,std::allocator<std::pair<const int,int>>,false>
        ]
(23) : error C2227: “->first”的左边必须指向类/结构/联合/泛型类型
        类型是“int”
(24) : error C2227: “->second”的左边必须指向类/结构/联合/泛型类型
        类型是“int”
(27) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
(27) : error C2440: “初始化”: 无法从“std::_Tree<_Traits>::iterator”转换为“int”
        with
        [
            _Traits=std::_Tmap_traits<int,int,std::less<int>,std::allocator<std::pair<const int,int>>,false>
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
(28) : error C2784: “bool std::operator !=(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)”: 无法从“int”为“const std::_Tree<_Traits> &”推导 模板 参数
        VC8\include\xtree(1366) : 参见“std::operator !=”的声明
(28) : error C2784: “bool std::operator !=(const std::istream_iterator<_Ty,_Elem,_Traits,_Diff> &,const std::istream_iterator<_Ty,_Elem,_Traits,_Diff> &)”: 无法从“int”为“const std::istream_iterator<_Ty,_Elem,_Traits,_Diff> &”推导 模板 参数
        VC8\include\iterator(277) : 参见“std::operator !=”的声明
(28) : error C2784: “bool std::operator !=(const std::allocator<_Ty> &,const std::allocator<_Other> &) throw()”: 无法从“int”为“const std::allocator<_Ty> &”推导 模板 参数
        VC8\include\xmemory(181) : 参见“std::operator !=”的声明
(28) : error C2784: “bool std::operator !=(const std::istreambuf_iterator<_Elem,_Traits> &,const std::istreambuf_iterator<_Elem,_Traits> &)”: 无法从“int”为“const std::istreambuf_iterator<_Elem,_Traits> &”推导 模板 参数
        VC8\include\xutility(2152) : 参见“std::operator !=”的声明
(28) : error C2784: “bool std::operator !=(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)”: 无法从“int”为“const std::reverse_iterator<_RanIt> &”推导 模板 参数
        VC8\include\xutility(1834) : 参见“std::operator !=”的声明
(28) : error C2784: “bool std::operator !=(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)”: 无法从“int”为“const std::pair<_Ty1,_Ty2> &”推导 模板 参数
        VC8\include\utility(68) : 参见“std::operator !=”的声明
(28) : error C2677: 二进制“!=”: 没有找到接受“std::_Tree<_Traits>::iterator”类型的全局运算符(或没有可接受的转换)
        with
        [
            _Traits=std::_Tmap_traits<int,int,std::less<int>,std::allocator<std::pair<const int,int>>,false>
        ]
(34) : error C2227: “->second”的左边必须指向类/结构/联合/泛型类型
        类型是“int”

  

Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
546