std::hash<std::type_index>

Header: <typeindex>

The template specialization of std::hash for std::type_index allows users to obtain hashes of objects of type std::type_index.

# Declarations

template<> struct hash<std::type_index>;

(since C++11)

# See also