在排序的范围中查找其值小于或等效于指定值的第一个元素的位置,其中排序条件可通过二元谓词指定。
template<class _FwdIt, class _Ty> inline
_FwdIt lower_bound(_FwdIt _First, _FwdIt _Last, const _Ty% _Val);
template<class _FwdIt, class _Ty, class _Pr> inline
_FwdIt lower_bound(_FwdIt _First, _FwdIt _Last,
const _Ty% _Val, _Pr _Pred);
备注
此函数行为与 STL lower_bound函数相同。 有关详细信息,请参阅lower_bound。
要求
标头: <cliext/algorithm>
命名空间: cliext