max_element (STL/CLR)
Finds the first occurrence of largest element in a specified range where the ordering criterion may be specified by a binary predicate.
template<class _FwdIt> inline
_FwdIt max_element(_FwdIt _First, _FwdIt _Last);
template<class _FwdIt, class _Pr> inline
_FwdIt max_element(_FwdIt _First, _FwdIt _Last, _Pr _Pred);
Remarks
This function behaves the same as the STL function max_element. For more information, see max_element.
Requirements
Header: <cliext/algorithm>
Namespace: cliext