20 General utilities library [utilities]

20.18 Class type_index [type.index]

20.18.4 Hash support [type.index.hash]

template <> struct hash<type_index>;

For an object index of type type_index, hash<type_index>()(index) shall evaluate to the same result as index.hash_code().