C++ 参考手册

定义于头文件 <system_error>
template<> struct hash<error_code>;
(C++11 èµ·)

std::hash 对 std::error_code 的模板特化允许用户获得 std::error_code 类型对象的哈希。