コード例 #1
0
ファイル: team.cpp プロジェクト: Mathsoum/Petanque
uint qHash(const Team &team)
{
  return qHash( team.getName() ) ^ qHash( team.getClub() );
}
コード例 #2
0
ファイル: team.cpp プロジェクト: Mathsoum/Petanque
bool operator==( const Team& one, const Team& other ) {
  return one.getName() == other.getName() && one.getClub() == other.getClub();
}