adjacent_find (STL/CLR)

搜索等于或满足指定条件的两个相邻元素。

template<class _FwdIt> inline
    _FwdIt adjacent_find(_FwdIt _First, _FwdIt _Last);
template<class _FwdIt, class _Pr> inline
    _FwdIt adjacent_find(_FwdIt _First, _FwdIt _Last, _Pr _Pred);

备注

此功能相同的行为就如同 STL 功能 adjacent_find的。有关更多信息,请参见 adjacent_find

要求

标题: <cliext/算法>

命名空间: cliext

请参见

参考

algorithm (STL/CLR)