hash Structure
La clase de plantilla define el método como devolver val.hash_code().El método define una función hash que se usan los valores de asignaciones de type_index tipo a una distribución de valores de índice.
template<>
struct hash<type_index>
: public unary_function<type_index, size_t>
{ // hashes a typeinfo object
size_t operator()(type_index val) const;
};