搜索(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/算法>

命名空间: cliext

请参见

参考

algorithm (STL/CLR)