From cppreference.com
template<>structhash<std::chrono::year>;(since C++26)The template specialization of
for
allows users to obtain hashes of objects of type std::chrono::year. This specialization is
.
The operator() of this specialization is noexcept.
Notes
macro ValueStdFeature
(C++26)
support for std::chrono value classes See also
(C++11)
hash function object
(class template)