| 171 | // Calculate hash for the pair of values. |
| 172 | template <typename T1, typename T2> |
| 173 | size_t Hash(T1 const & t1, T2 const & t2) |
| 174 | { |
| 175 | /// @todo Probably, we need better hash for 2 integral types. |
| 176 | return (std::hash<T1>()(t1) ^ (std::hash<T2>()(t2) << 1)); |
| 177 | } |
| 178 | } // namespace math |
no outgoing calls