Guest
Login
跳过导航链接

Compile Error:

  
(11) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
(11) : error C2440: “初始化”: 无法从“std::list<_Ty>::_Iterator<_Secure_validation>”转换为“int”
        with
        [
            _Ty=int,
            _Secure_validation=true
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
(15) : error C2664: “std::list<_Ty>::_Iterator<_Secure_validation> std::list<_Ty>::erase(std::list<_Ty>::_Iterator<_Secure_validation>)”: 不能将参数 1 从“int”转换为“std::list<_Ty>::_Iterator<_Secure_validation>”
        with
        [
            _Ty=int,
            _Secure_validation=true
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确
(17) : error C2784: “bool std::operator ==(const std::list<_Ty,_Ax> &,const std::list<_Ty,_Ax> &)”: 无法从“int”为“const std::list<_Ty,_Ax> &”推导 模板 参数
        VC8\include\list(1257) : 参见“std::operator ==”的声明
(17) : 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(266) : 参见“std::operator ==”的声明
(17) : error C2784: “bool std::operator ==(const std::allocator<_Ty> &,const std::allocator<_Other> &) throw()”: 无法从“int”为“const std::allocator<_Ty> &”推导 模板 参数
        VC8\include\xmemory(174) : 参见“std::operator ==”的声明
(17) : 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(2143) : 参见“std::operator ==”的声明
(17) : error C2784: “bool std::operator ==(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)”: 无法从“int”为“const std::reverse_iterator<_RanIt> &”推导 模板 参数
        VC8\include\xutility(1826) : 参见“std::operator ==”的声明
(17) : error C2784: “bool std::operator ==(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)”: 无法从“int”为“const std::pair<_Ty1,_Ty2> &”推导 模板 参数
        VC8\include\utility(60) : 参见“std::operator ==”的声明
(17) : error C2677: 二进制“==”: 没有找到接受“std::list<_Ty>::_Iterator<_Secure_validation>”类型的全局运算符(或没有可接受的转换)
        with
        [
            _Ty=int,
            _Secure_validation=true
        ]
(18) : error C2440: “=”: 无法从“std::list<_Ty>::_Iterator<_Secure_validation>”转换为“int”
        with
        [
            _Ty=int,
            _Secure_validation=true
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
(22) : error C2784: “bool std::operator ==(const std::list<_Ty,_Ax> &,const std::list<_Ty,_Ax> &)”: 无法从“int”为“const std::list<_Ty,_Ax> &”推导 模板 参数
        VC8\include\list(1257) : 参见“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(266) : 参见“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(174) : 参见“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(2143) : 参见“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(1826) : 参见“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(60) : 参见“std::operator ==”的声明
(22) : error C2677: 二进制“==”: 没有找到接受“std::list<_Ty>::_Iterator<_Secure_validation>”类型的全局运算符(或没有可接受的转换)
        with
        [
            _Ty=int,
            _Secure_validation=true
        ]
(23) : error C2440: “=”: 无法从“std::list<_Ty>::_Iterator<_Secure_validation>”转换为“int”
        with
        [
            _Ty=int,
            _Secure_validation=true
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
(28) : error C2143: 语法错误 : 缺少“,”(在“:”的前面)
(28) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)

  

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-
154