Namespaces
Variants
Views
Actions

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

From cppreference.com
m (link to ja)
m (Added Spanish link)
Line 7: Line 7:
 
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}}.
  
{{langlinks|ja|zh}}
+
{{langlinks|ja|zh}}

Revision as of 15:46, 3 August 2020

 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
 
Defined in header <system_error>
template<> struct hash<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.