Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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