std::set::lower_bound
Материал из 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. |
| iterator lower_bound( const Key& key ); |
||
| const_iterator lower_bound( const Key& key ) const; |
||
Возвращает итератор, указывающий на первый элемент, который является' не меньше, чем
key.Original:
Returns an iterator pointing to the first element that is not less than
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 to compare the elements to 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 pointing to the first element that is not less than
key. If no such element is found, a past-the-end iterator (see end()) 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.
[править] Сложность
Логарифмическая в размер контейнера.
Original:
Logarithmic in the size of the container.
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 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 функция-член) | |
| возвращает итератор на первый элемент' больше, чем определенное значение Original: returns an iterator to the first element greater than a certain value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public функция-член) | |