i'm trying overload the != and == operators, but i'm getting several errors :(
bool operator==(const image &other) const
{
if(other.btBitmap==*this->btBitmap)
return true;
else
return false;
}
bool operator!=(const image &other) const
{
return !(*this == other);
}
what i'm doing wrong?