JSON RPC
JSON-RPC 2.0 library for C++
|
Custom hasher for std::string_view
.
More...
#include <dispatcher_p.h>
Public Types | |
using | is_transparent = void |
Indicates that the hasher supports transparent key lookup. | |
Public Member Functions | |
std::size_t | operator() (std::string_view s) const noexcept |
Computes the hash value for a given std::string_view . | |
Custom hasher for std::string_view
.
This struct provides a custom hash function for std::string_view
to be used in unordered containers.
Definition at line 26 of file dispatcher_p.h.
using wwa::json_rpc::hasher::is_transparent = void |
Indicates that the hasher supports transparent key lookup.
Definition at line 27 of file dispatcher_p.h.
|
inlinenoexcept |
Computes the hash value for a given std::string_view
.
s | The std::string_view to hash. |
Definition at line 35 of file dispatcher_p.h.