prova così (da notare che ho aggiunto i "const"):
p.s: ma perché non usi i tag code?codice:bool Vertex::operator==(const Vertex &other) const{ return (this->_nx == other._nx) && (this->_ny == other._ny) && (this->_nz == other._nz); }
p.s2: evita di definire identificatori che iniziano con l'underscore. Tali identificatori sono riservati all'implementazione sia del linguaggio che del compilatore.