CnC
|
Provides hash and equality operators for hashing as used by item_collections. More...
Public Member Functions | |
size_t | hash (const T &x) const |
bool | equal (const T &x, const T &y) const |
Provides hash and equality operators for hashing as used by item_collections.
It is recommended to specilialize cnc_hash and/or cnc_equal rather than cnc_tag_hash_compare
Definition at line 185 of file cnc_tag_hash_compare.h.
bool equal | ( | const T & | x, |
const T & | y | ||
) | const [inline] |
Definition at line 193 of file cnc_tag_hash_compare.h.
{ return cnc_equal< T >::operator()( x, y ); }
size_t hash | ( | const T & | x | ) | const [inline] |
Definition at line 188 of file cnc_tag_hash_compare.h.
{ return cnc_hash< T >::operator()( x ); }