std::hash<std::type_index>
来自 cppreference.cn
< cpp | types | type index
定义于头文件 <typeindex> |
||
template<> struct hash<std::type_index>; |
(自 C++11 起) | |
std::hash 的模板特化 для std::type_index 允许用户获取 std::type_index 类型对象的哈希值。
成员 operator() 有效地返回与 hash_code() 相同的值。
[编辑] 参见
返回哈希码 (公有成员函数) |