std::hash compatible hasher for use with std::unordered_ (the std::hash specialization provided by nonstd constructs std::string temporaries then invokes std::hash against those)
| 973 | // (the std::hash specialization provided by nonstd constructs std::string |
| 974 | // temporaries then invokes std::hash<std::string> against those) |
| 975 | hash_t operator()(std::string_view value) const { |
| 976 | return ComputeStringHash<0>(value.data(), static_cast<int64_t>(value.size())); |
| 977 | } |
| 978 | }; |
| 979 | |
| 980 | } // namespace internal |