std::hash<div class="t-tr-text"><std::type_index><div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig"><std::type_index></div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
来自cppreference.com
< cpp | types | type index
|
|
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 <typeindex>
|
||
| struct hash<type_index>; |
(C++11 起) | |
std::hash為模板專門std::type_index允許用戶獲取哈希的對象的類型std::type_index.
Original:
The template specialization of std::hash for std::type_index allows users to obtain hashes of objects of type std::type_index.
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.
[编辑] 返回值
有效地返回相同的值
hash_code().Original:
Effectively returns the same value as
hash_code().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.
[编辑] 另請參閱
| 回報進行散列代碼 Original: returns hashed code The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成員函數) | |