Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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