I am trying to overload <= operator, her is the code that I am using, the linker generated an error saying: one or more multiply defined symbols have been found. Here is the code:

bool operator <=(name& A, name& B)
{

return true;
}
int main()
{
name A, B;
if (A <= B) cout << "Hi;";
return 0;
}



Please help.