Searched refs:CharT (Results 1 – 2 of 2) sorted by relevance
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _hash_compare.h | 124 template <typename CharT, typename Traits, typename Allocator> 125 struct hash<std::basic_string<CharT, Traits, Allocator>> { 127 std::size_t operator()( const std::basic_string<CharT, Traits, Allocator>& s ) const { 129 for ( const CharT* c = s.c_str(); *c; ++c ) { 138 std::hash<CharT> char_hash;
|
| /oneTBB/examples/concurrent_hash_map/count_strings/ |
| H A D | count_strings.cpp | 29 template <typename CharT, typename Traits, typename Allocator> 30 class hash<std::basic_string<CharT, Traits, Allocator>> { 32 std::size_t operator()(const std::basic_string<CharT, Traits, Allocator>& s) const { in operator ()() argument 34 for (const CharT* c = s.c_str(); *c; ++c) { in operator ()() 44 std::hash<CharT> char_hash;
|