|
chenjunfu2-nbt-cpp v2.1.5
一个基于CPP20的NBT(Named Binary Tag)库
|
透明哈希函数对象,用于 unordered 容器的异构查找 更多...
#include <NBT_String.hpp>
Public 类型 | |
| using | is_transparent = void |
| 透明哈希标记 | |
Public 成员函数 | |
| template<typename T> | |
| std::size_t | operator() (const T &s) const |
| 计算满足 Is_NBT_String_Or_View 约束的类型的哈希值 | |
透明哈希函数对象,用于 unordered 容器的异构查找
|
inline |
计算满足 Is_NBT_String_Or_View 约束的类型的哈希值
| T | 自动推导的类型(必须是 NBT_String 或其 View 之一) |
| s | 需要计算哈希的对象引用 |