std::hash (std::thread::id)
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <thread>
|
||
| template<> struct hash<std::thread::id>; |
(C++11 起) | |
。模板特化std::hash的std::thread::id类的,可以让用户获得的线程的标识符的哈希.
Original:
The template specialization of std::hash for the std::thread::id class allows users to obtain hashes of the identifiers of threads.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 。为例。
| 本节是不完整的 原因: no example |
[编辑] 。另请参阅。
| (C++11) |
hash function object (类模板) |