|
VLink 2.0.0
A high-performance communication middleware
|
std::hash specialisation for vlink::Uint128.
更多...
#include <uint128.h>
Public 成员函数 | |
| VLINK_EXPORT size_t | operator() (const vlink::Uint128 &value) const noexcept |
Computes the hash of value. | |
std::hash specialisation for vlink::Uint128.
Enables vlink::Uint128 (and the vlink::uint128_t alias) to be used as a key in std::unordered_map, std::unordered_set, and similar hash-based containers.
The hash function combines the high and low 64-bit words to produce a size_t result.
|
noexcept |
Computes the hash of value.
| value | The 128-bit value to hash. |