std::type_index::hash_code
来自cppreference.com
                    
                                        
                    < cpp | types | type index
                    
                                                            
                    |   std::size_t hash_code() const noexcept;  | 
(C++11 起) | |
返回关联的 std::type_info 对象的散列码。等价于直接调用 type_info::hash_code 。
参数
(无)
返回值
关联的 std::type_info 对象的散列码。
示例
| 本节未完成 原因:暂无示例  | 
缺陷报告
下列更改行为的缺陷报告追溯地应用于以前出版的 C++ 标准。
| 缺陷报告 | 应用于 | 出版时的行为 | 正确行为 | 
|---|---|---|---|
| LWG 2144 | C++11 |  未要求 type_index::hash_code 为 noexcept
 | 
已要求 | 
参阅
|    (C++11)  | 
   std::type_index 的散列支持  (类模板特化)  |