C++ 参考手册

位置:首页 > C++ 参考手册 >错误处理 >std::error_condition > std::hash<std::error_condition>

定义于头文件 <system_error>
template<> struct hash<error_condition>;
(C++17 起)

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