Comparator in orderd map

For given code:

struct cmp
{
bool operator()(int a, int b)const
{
return a > b;
}
};
Suppose i am passing given struct in a map<int,int,cmp>.

Then Why in struct cmp ,’()’ is overloaded and not ‘<’?