adjacent_find (STL/CLR)
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at adjacent_find (STL/CLR).
Searches for two adjacent elements that are either equal or satisfy a specified condition.
Syntax
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);
Remarks
This function behaves the same as the STL function adjacent_find
. For more information, see adjacent_find.
Requirements
Header: <cliext/algorithm>
Namespace: cliext