std::hash<std::type_index>

来自cppreference.com
< cpp‎ | types‎ | type index
 
 
 
 
 
在标头 <typeindex> 定义
template<>struct hash<type_index>;
(C++11 起)

std::hashstd::type_index 的模板特化允许用户获得 std::type_index 类型对象的散列。

成员 operator() 相当于返回与 hash_code() 相同的值。

[编辑]参阅

返回散列码
(公开成员函数)[编辑]
close