F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39376857_21706.cpp
VC2013\INCLUDE\xutility(2737) : error C2678: 二进制“==”: 没有找到接受“const Student”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\system_error(410): 可能是“bool std::operator ==(const std::error_condition &,const std::error_code &) throw()”
        VC2013\INCLUDE\system_error(402): 或       “bool std::operator ==(const std::error_code &,const std::error_condition &) throw()”
        VC2013\INCLUDE\exception(507): 或       “bool std::operator ==(const std::exception_ptr &,std::nullptr_t)”
        VC2013\INCLUDE\exception(502): 或       “bool std::operator ==(std::nullptr_t,const std::exception_ptr &)”
        VC2013\INCLUDE\exception(497): 或       “bool std::operator ==(const std::exception_ptr &,const std::exception_ptr &)”
        尝试匹配参数列表“(const Student, const Student)”时
        VC2013\INCLUDE\xutility(2767): 参见对正在编译的函数 模板 实例化“bool std::_Equal<const Student*,const Student*>(_InIt1,_InIt1,_InIt2)”的引用
        with
        [
            _InIt1=const Student *
,            _InIt2=const Student *
        ]
        VC2013\INCLUDE\vector(1800): 参见对正在编译的函数 模板 实例化“bool std::equal<std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<Student>>>,std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<Student>>>>(_InIt1,_InIt1,_InIt2)”的引用
        with
        [
            _InIt1=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<Student>>>
,            _InIt2=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<Student>>>
        ]
        0_0_39376857_21706.cpp(60): 参见对正在编译的函数 模板 实例化“bool std::operator ==<Student,std::allocator<_Ty>>(const std::vector<_Ty,std::allocator<_Ty>> &,const std::vector<_Ty,std::allocator<_Ty>> &)”的引用
        with
        [
            _Ty=Student
        ]


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-30 02:01:01, Gzip enabled