搜尋 (STL/CLR)

搜尋其中的項目中指定項目的序列等於或其元素為對等就某種意義來說,二元述詞中指定序列的項目所指定的目標範圍內的一系列的第一個項目。

template<class _FwdIt1, class _FwdIt2> inline
    _FwdIt1 search(_FwdIt1 _First1, _FwdIt1 _Last1,
        _FwdIt2 _First2, _FwdIt2 _Last2);
template<class _FwdIt1, class _FwdIt2, class _Pr> inline
    _FwdIt1 search(_FwdIt1 _First1, _FwdIt1 _Last1,
        _FwdIt2 _First2, _FwdIt2 _Last2, _Pr _Pred);

備註

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

需求

標頭: < cliext/演算法 >

Namespace: cliext

請參閱

參考

algorithm (STL/CLR)