Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/MaxElement.h |
Include |
#include "Algo/MaxElement.h" |
namespace Algo
{
template<typename RangeType>
auto Algo::MaxElement
(
RangeType & Range
)
}
Returns a pointer to the maximum element in a range. 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.
Parameter |
Description |
---|---|
Range |
The range to find the maximum element in. |