std::hash<std::type_index>
< cpp | types | type index
在标头
<typeindex> 定义 |
||
template<> struct hash<type_index>;
|
(C++11 起) | |
std::hash 对 std::type_index 的模板特化允许用户获得 std::type_index 类型对象的散列。
成员 operator() 相当于返回与 hash_code() 相同的值。
参阅
返回散列码 (公开成员函数) |