std::hash<std::error_code>
来自cppreference.com
< cpp | error | error code
工具库
诊断库
|
|
std::error_code
成员函数 | ||||
修改器 | ||||
观察器 | ||||
非成员函数 | ||||
(C++20
前)(C++20
前)(C++20)
|
||||
辅助类 | ||||
hash<std::error_code>
|
在标头
<system_error>
定义
|
||
template<>
struct
hash<error_code>;
|
(C++11 起) | |
std::hash 对 std::error_code 的模板特化允许用户获得 std::error_code 类型对象的哈希。