This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
Section: 22.10.19 [unord.hash] Status: Resolved Submitter: Marshall Clow Opened: 2016-11-10 Last modified: 2020-09-06
Priority: Not Prioritized
View all other issues in [unord.hash].
View all issues with Resolved status.
In the list of types that the library provides std::hash specializations, there is an entry for hash<T*>, but none entry for hash<nullptr_t>.
[2016-11-13, Daniel provides wording]
Resolved by P0513R0
This wording is relative to N4606.
Change 22.10 [function.objects], header <functional> synopsis, as indicated:
[…] // Hash function specializations template <> struct hash<bool>; […] template <> struct hash<long double>; template<class T> struct hash<T*>; […]
Change 22.10.19 [unord.hash] before p2, as indicated:
template <> struct hash<bool>; […] template <> struct hash<long double>; template<class T> struct hash<T*>;