# std::hash<std::error_condition>

> C++ Atlas: `cppatlas.com/w/cpp/error/error_condition/hash` | Source: https://en.cppreference.com/w/cpp/error/error_condition/hash | Domain: Diagnostics | Standards: C++17

The template specialization of std::hash for std::error_condition allows users to obtain hashes of objects of type std::error_condition.

## Official Specification Summary (cppreference)

```cpp
// 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`.

---
Attribution: content from https://en.cppreference.com/w/cpp/error/error_condition/hash (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.