Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/error/error condition/hash"

From cppreference.com
(+)
 
m
 
(4 intermediate revisions by 3 users not shown)
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>;
 
}}
 
}}
  
 
The template specialization of {{lc|std::hash}} for {{lc|std::error_condition}} allows users to obtain hashes of objects of type {{lc|std::error_condition}}.
 
The template specialization of {{lc|std::hash}} for {{lc|std::error_condition}} allows users to obtain hashes of objects of type {{lc|std::error_condition}}.
 +
 +

Latest revision as of 22:46, 21 March 2023