Ocean
|
Helper struct allowing to determine a hash value for a std::pair. More...
#include <Utilities.h>
Public Member Functions | |
template<typename T1 , typename T2 > | |
std::size_t | operator() (const std::pair< T1, T2 > &pair) const |
Returns the hash value for a std::pair. | |
Helper struct allowing to determine a hash value for a std::pair.
This struct can be used in combination with the std::unordered_map or std::unordered_set.
|
inline |
Returns the hash value for a std::pair.
pair | The pair for which the hash value will be returned |
T1 | The data type of the first pair value |
T2 | The data type of the second pair value |