std::map::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. (公共成员函数) | |
| 返回一个迭代器的第一个元素“更大的”超过一定值 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. (公共成员函数) | |