std::hash<std::type_index>
Определено в заголовке <typeindex> | ||
|---|---|---|
template<> struct hash<std::type_index>; | (с C++11) |
Шаблонная специализация std::hash для std::type_index позволяет пользователям получать хэши объектов типа std::type_index.
Член operator() фактически возвращает то же значение, что и hash_code().
См. также
| возвращает хэш-код (общедоступная функция-член) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/types/type_index/hash