[syserr.hash]

# 19 Diagnostics library [[diagnostics]](./#diagnostics)

## 19.5 System error support [[syserr]](syserr#hash)

### 19.5.7 System error hash support [syserr.hash]

[ð](#lib:hash,error_code)

`template<> struct hash<error_code>;
template<> struct hash<error_condition>;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/diagnostics.tex#L1510)

The specializations are enabled ([[unord.hash]](unord.hash "22.10.19 Class template hash"))[.](#1.sentence-1)
