Hash strings, string views, and C strings without temporary allocations.
More...
#include <src/string_hash.h>
|
|
using | is_transparent = void |
| | Enable heterogeneous unordered-container lookup.
|
|
| std::size_t | operator() (std::string_view value) const noexcept |
| | Hash all characters in a string-like key, including embedded nulls in views.
|
Hash strings, string views, and C strings without temporary allocations.
◆ operator()()
| std::size_t util::transparent_string_hash::operator() |
( |
std::string_view | value | ) |
const |
|
inlinenoexcept |
Hash all characters in a string-like key, including embedded nulls in views.
- Parameters
-
- Returns
- Hash shared by equivalent owning and non-owning string keys.
The documentation for this struct was generated from the following file: