Ejemplo n.º 1
0
bool Droid::operator!=(const Droid &e) const
{
    if (this->getStatus() == e.getStatus())
            return false;
   else
            return true;
}
Ejemplo n.º 2
0
bool Droid::operator!=(Droid const& other) const
{
    return !(getStatus() && other.getStatus() && *getStatus() == *(other.getStatus()));
}