I am getting error C2678 “binary '==' : no operator found which takes a lef-hand operand of type” even though I have operator overloads for the class

前端 未结 0 1648
予麋鹿
予麋鹿 2021-02-02 05:00

Tile.cpp:

bool Tile::operator==(const Tile& rhs) const
{
    return this->i == rhs.i && this->j == rhs.j;
}

bool Tile::operator!=(const Tile&am         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题