|
VLink
2.0.0
A high-performance communication middleware
|
std::hash specialisation enabling vlink::Uint128 keys in unordered containers.
更多...
#include <uint128.h>
Public 成员函数 | |
| VLINK_EXPORT size_t | operator() (const vlink::Uint128 &value) const noexcept |
Hashes value into a size_t. 更多... | |
std::hash specialisation enabling vlink::Uint128 keys in unordered containers.
The hash combines both 64-bit halves so std::unordered_map, std::unordered_set and similar containers can key on a vlink::Uint128 directly.
|
noexcept |
Hashes value into a size_t.
| value | Value to hash. |