upper_bound (STL/CLR)

在已排序的範圍內有大於指定的值,二元述詞中指定排序準則的值會尋找第一個項目的位置。

template<class _FwdIt, class _Ty> inline
    _FwdIt upper_bound(_FwdIt _First, _FwdIt _Last, const _Ty% _Val);
template<class _FwdIt, class _Ty, class _Pr> inline
    _FwdIt upper_bound(_FwdIt _First, _FwdIt _Last,
        const _Ty% _Val, _Pr _Pred);

備註

這個函式行為和 STL 函式一樣upper_bound。如需詳細資訊,請參閱 upper_bound

需求

標頭: < cliext/演算法 >

Namespace: cliext

請參閱

參考

algorithm (STL/CLR)