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_23579423_29329.cpp
VC2013\INCLUDE\algorithm(3070) : error C2893: 未能使函数模板“unknown-type std::less<void>::operator ()(_Ty1 &&,_Ty2 &&) const”专用化
        用下列模板参数: 
        “_Ty1=homework &”
        “_Ty2=homework &”
        VC2013\INCLUDE\algorithm(3127): 参见对正在编译的函数 模板 实例化“std::pair<_RanIt,_RanIt> std::_Unguarded_partition<_RanIt,_Pr>(_RanIt,_RanIt,_Pr)”的引用
        with
        [
            _RanIt=homework *
,            _Pr=std::less<void>
        ]
        VC2013\INCLUDE\algorithm(3157): 参见对正在编译的函数 模板 实例化“void std::_Sort<_Iter,int,_Pr>(_RanIt,_RanIt,_Diff,_Pr)”的引用
        with
        [
            _Iter=homework *
,            _Pr=std::less<void>
,            _RanIt=homework *
,            _Diff=int
        ]
        VC2013\INCLUDE\algorithm(3164): 参见对正在编译的函数 模板 实例化“void std::sort<_RanIt,std::less<void>>(_RanIt,_RanIt,_Pr)”的引用
        with
        [
            _RanIt=homework *
,            _Pr=std::less<void>
        ]
        0_0_23579423_29329.cpp(34): 参见对正在编译的函数 模板 实例化“void std::sort<homework*>(_RanIt,_RanIt)”的引用
        with
        [
            _RanIt=homework *
        ]
VC2013\INCLUDE\algorithm(3071) : error C2893: 未能使函数模板“unknown-type std::less<void>::operator ()(_Ty1 &&,_Ty2 &&) const”专用化
        用下列模板参数: 
        “_Ty1=homework &”
        “_Ty2=homework &”
VC2013\INCLUDE\algorithm(3071) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译


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-12-02 02:20:54, Gzip enabled