22 #ifndef __TBB_tbb_hash_compare_impl_H 23 #define __TBB_tbb_hash_compare_impl_H 28 namespace interface5 {
32 template<
typename Key,
typename Hasher,
typename Key_equality>
49 bool operator()(
const Key& key1,
const Key& key2)
const {
70 size_t const h = reinterpret_cast<size_t>( ptr );
73 template<
typename E,
typename S,
typename A>
74 inline size_t tbb_hasher(
const std::basic_string<E,S,A>&
s ) {
76 for(
const E* c =
s.c_str(); *c; ++c )
80 template<
typename F,
typename S>
89 template<
typename Key>
102 template<
typename Key>
105 static bool equal(
const Key& a,
const Key& b ) {
return a == b; }
size_t operator()(const Key &key) const
A template to select either 32-bit or 64-bit constant as compile time, depending on machine word size...
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function h
size_t tbb_hasher(const T &t)
Hasher functions.
static const size_t hash_multiplier
Hash multiplier.
size_t tbb_hasher(const std::pair< F, S > &p)
hash_compare(Hasher a_hasher, Key_equality a_keyeq)
static bool equal(const Key &a, const Key &b)
hash_compare that is default argument for concurrent_hash_map
void const char const char int ITT_FORMAT __itt_group_sync p
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_id __itt_string_handle * key
void const char const char int ITT_FORMAT __itt_group_sync s
hash_compare(Hasher a_hasher)
Key_equality my_key_compare_object
size_t operator()(const Key &key) const
static size_t hash(const Key &a)
bool operator()(const Key &key1, const Key &key2) const