boost::hash<std::type_index>
// In header: <boost/functional/hash.hpp> struct hash<std::type_index> { std::size_t operator()(std::type_index) const; };
std::size_t operator()(std::type_index val) const;
Returns:
val.hash_code()
Throws:
Doesn't throw