Namespaces
Variants
Views
Actions

std::hash (std::thread::id)

From cppreference.com
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.

[edit] Example

[edit] See also

(C++11)
hash function object
(class template) [edit]