VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
std::hash< vlink::Uint128 >结构体 参考

std::hash specialisation for vlink::Uint128. 更多...

#include <uint128.h>

std::hash< vlink::Uint128 > 的协作图:

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.

成员函数说明

◆ operator()()

VLINK_EXPORT size_t std::hash< vlink::Uint128 >::operator() ( const vlink::Uint128 & value) const
noexcept

Computes the hash of value.

参数
valueThe 128-bit value to hash.
返回
Hash value derived from both the high and low 64-bit words.

该结构体的文档由以下文件生成: