Difference between revisions of "cpp/error/error condition/hash"
From cppreference.com
< cpp | error | error condition
m (Added Spanish link) |
m (std::) |
||
Line 2: | Line 2: | ||
{{cpp/error/error_condition/navbar}} | {{cpp/error/error_condition/navbar}} | ||
{{ddcl | header=system_error | since=c++17 | 1= | {{ddcl | header=system_error | since=c++17 | 1= | ||
− | template<> struct hash<error_condition>; | + | template<> struct hash<error_condition>; |
}} | }} | ||
Revision as of 01:15, 4 August 2020
Defined in header <system_error>
|
||
template<> struct hash<std::error_condition>; |
(since C++17) | |
The template specialization of std::hash for std::error_condition allows users to obtain hashes of objects of type std::error_condition.