====Vers la version 10==== Les opĂ©rateurs de comparaison doivent ĂȘtre ''const''. - bool operator==(const XXX &rOther) { ... } - bool operator!=(const XXX &rOther) { ... } + bool operator==(const XXX &rOther) const { ... } + bool operator!=(const XXX &rOther) const { ... }