17 #ifndef AGX_SYMMETRICPAIR_H
18 #define AGX_SYMMETRICPAIR_H
38 return ( a == this->first || a == this->second );
48 return (a.first == b.first && a.second == b.second) || (a.first == b.second && a.second == b.first);
70 std::ostream& operator << ( std::ostream& output, const SymmetricPair<T>& pair)
72 output << pair.first <<
" : " << pair.second;
AGXCORE_EXPORT UInt32 hash(const T &key)
bool operator==(T val, InvalidIndexStruct)
bool contains(const T &a) const
bool operator!=(T val, InvalidIndexStruct)
SymmetricPair(const T &a, const T &b)