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)
| 981 | // (the std::hash specialization provided by nonstd constructs std::string |
| 982 | // temporaries then invokes std::hash<std::string> against those) |
| 983 | hash_t operator()(std::string_view value) const { |
| 984 | return ComputeStringHash<0>(value.data(), static_cast<int64_t>(value.size())); |
| 985 | } |
| 986 | }; |
| 987 | |
| 988 | } // namespace internal |