I have a class Score which is going to be heavily used in comparisons against integers. I was planning on overloading the == operator to enable these comparisons as per th
Usually when I see an overloaded operator, it comparisons of that class to itself. So if you have multiple instance variables, you would figure out how to compare the two to determine if something was equal, greater, less, etc.
I don't see why you don't just do:
if(myScore.value == 5)
{
//do stuff
}