std::hash<std::error_code>
来自 zh.cppreference.net
| 定义于头文件 <system_error>
|
||
template<> struct hash<std::error_code>;
|
(自 C++11 起) | |
的模板特化 std::hash 对 std::error_code 允许用户获取 std::error_code 类型对象的哈希值。