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. (public функция-член) | |
| возвращает набор элементов для конкретного ключа 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. (public функция-член) | |