/Engine/Source/Runtime/Core/Public/Algo/MaxElement.h
Returns a pointer to the maximum element in a range with a user-defined binary comparator. If the range contains multiple maximum elements, a pointer to the first one will be returned.
A pointer to the maximum element, or nullptr if the range was empty.
namespace Algo { template<typename RangeType, typename ProjectionType, typename ComparatorType> auto Algo::MaxElementBy ( RangeType & Range, ProjectionType Proj, ComparatorType Comp ) }