std::hash<std::type_index>
From cppreference.com
< cpp | types | type index
| ヘッダ <typeindex> で定義 |
||
| template<> struct hash<std::type_index>; |
(C++11以降) | |
std::hash の std::type_index 用のテンプレート特殊化により、ユーザーは std::type_index 型のオブジェクトのハッシュ値を取得できます。
メンバ operator() は、実質的に hash_code() と同じ値を返します。
[編集] 関連項目
| ハッシュコードを返す (public member function) |