{
private:
Enumcomp comp;
public:
compare(Enumcomp c):comp(c) {};
bool operator () (int num1,int num2)
{
switch(comp)
{
case ASC:
return num1
return num1>num2;
}
}
};
public:
compare(Enumcomp c):comp(c) {};
bool operator () (int num1,int num2)
这两句是什么意思,求详细的。