[time.hash] # 30 Time library [[time]](./#time) ## 30.14 Hash support [time.hash] [🔗](#lib:hash,duration) `template struct hash>; ` [1](#1) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L11501) The specialization hash> is enabled ([[unord.hash]](unord.hash "22.10.19 Class template hash")) if and only if hash is enabled[.](#1.sentence-2) The member functions are not guaranteed to be noexcept[.](#1.sentence-3) [🔗](#lib:hash,time_point) `template struct hash>; ` [2](#2) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L11514) The specialization hash> is enabled ([[unord.hash]](unord.hash "22.10.19 Class template hash")) if and only if hash is enabled[.](#2.sentence-1) The member functions are not guaranteed to be noexcept[.](#2.sentence-2) [🔗](#lib:hash,day) `template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; template<> struct hash; ` [3](#3) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L11554) The specializations are enabled ([[unord.hash]](unord.hash "22.10.19 Class template hash"))[.](#3.sentence-1) [*Note [1](#note-1)*: All the hash specializations listed above meet the[*Cpp17Hash*](hash.requirements#:Cpp17Hash "16.4.4.5 Cpp17Hash requirements [hash.requirements]") requirements, even when called on objects k of type Key such that k.ok() is false[.](#3.sentence-2) — *end note*] [🔗](#lib:hash,zoned_time) `template struct hash>; ` [4](#4) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L11570) The specialization hash> is enabled ([[unord.hash]](unord.hash "22.10.19 Class template hash")) if and only if hash is enabled andhash is enabled[.](#4.sentence-1) The member functions are not guaranteed to be noexcept[.](#4.sentence-2) [🔗](#lib:hash,leap_second) `template<> struct hash; ` [5](#5) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L11584) The specialization is enabled ([[unord.hash]](unord.hash "22.10.19 Class template hash"))[.](#5.sentence-1)