17 #ifndef AGX_SYMMETRICPAIR_H
18 #define AGX_SYMMETRICPAIR_H
39 return ( a == this->first || a == this->second );
49 return (a.first == b.first && a.second == b.second) || (a.first == b.second && a.second == b.first);
73 output << pair.first <<
" : " << pair.second;
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
bool contains(const T &a) const
SymmetricPair(const T &a, const T &b)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXCORE_EXPORT UInt32 hash(const T &key)
bool operator!=(T val, InvalidIndexStruct)
bool operator==(T val, InvalidIndexStruct)
std::ostream & operator<<(std::ostream &stream, const AtomicValueT< T > &value)