std::unordered_multiset::find
来自cppreference.com
< cpp | container | unordered multiset
|
|
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. |
| iterator find( const Key& key ); |
||
| const_iterator find( const Key& key ) const; |
||
关键
key发现的元素。 Original:
Finds an element with key
key. 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.
目录 |
[编辑] 参数
| key | - | 要搜索的元素的键值
Original: key value of the element to search for The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
迭代器关键
key的元素。如果没有这样的元素被发现,过去的结束(见end())返回迭代器.Original:
Iterator to an element with key
key. If no such element is found, past-the-end (see end()) iterator is returned.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.
[编辑] 复杂性
Amortized constant on average, worst case linear in the size of the container.
[编辑] 另请参阅
| 返回匹配的特定键的元素的数量 Original: returns the number of elements matching specific key The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数) | |
| 回报在一个特定的键匹配的元素 Original: returns range of elements matching a specific key The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (公共成员函数) | |