hash Structure
樣板類別會定義自己的方法的傳回 val.hash_code()。 方法會定義用來將型別 type_index 的值設定為索引值的雜湊函式。
template<>
struct hash<type_index>
: public unary_function<type_index, size_t>
{ // hashes a typeinfo object
size_t operator()(type_index val) const;
};