WTF
WTF::PairHash< T, U > Struct Template Reference
#include <HashFunctions.h>
Static Public Member Functions | |
static bool | equal (const std::pair< T, U > &a, const std::pair< T, U > &b) |
static unsigned | hash (const std::pair< T, U > &p) |
Static Public Attributes | |
static const bool | safeToCompareToEmptyOrDeleted |
Detailed Description
template<typename T, typename U>
struct WTF::PairHash< T, U >
Definition at line 135 of file HashFunctions.h.
Member Function Documentation
template<typename T , typename U >
static bool WTF::PairHash< T, U >::equal | ( | const std::pair< T, U > & | a, | |
const std::pair< T, U > & | b | |||
) | [inline, static] |
Definition at line 140 of file HashFunctions.h.
template<typename T , typename U >
static unsigned WTF::PairHash< T, U >::hash | ( | const std::pair< T, U > & | p | ) | [inline, static] |
Definition at line 136 of file HashFunctions.h.
Member Data Documentation
template<typename T , typename U >
const bool WTF::PairHash< T, U >::safeToCompareToEmptyOrDeleted [static] |
Initial value:
DefaultHash<T>::Hash::safeToCompareToEmptyOrDeleted && DefaultHash<U>::Hash::safeToCompareToEmptyOrDeleted
Definition at line 144 of file HashFunctions.h.
The documentation for this struct was generated from the following file: