std::hash<std::thread::id> (3) - Linux Manuals
std::hash<std::thread::id>: std::hash<std::thread::id>
NAME
std::hash<std::thread::id> - std::hash<std::thread::id>
Synopsis
Defined in header <thread>
template<> struct hash<std::thread::id>; (since C++11)
The template specialization of std::hash for the std::thread::id class allows users to obtain hashes of the identifiers of threads.
Example
This section is incomplete
Reason: example that uses hash meaningfully
// Run this code
Possible output:
See also
hash hash function object
(C++11)