I am trying to make a method in my user defined class that will compare two lengths and return true if the implicit parameter is greater than the explicit parameter but it keeps saying I cannot use the > symbol and I'm not sure why. Any help would be greatly appreciated.
bool isGreaterThan(English_length&L)
{
if (isGreaterThan(L)>L)
return true;
else
return false;
}