Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/HeapSort.h |
Include |
#include "Algo/HeapSort.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredicateType>
void Algo::HeapSortBy
(
RangeType && Range,
ProjectionType Projection,
PredicateType Predicate
)
}
Performs heap sort on the elements.
Parameter |
Description |
---|---|
Range |
The range to sort. |
Projection |
The projection to sort by when applied to the element. |
Predicate |
A binary predicate object, applied to the projection, used to specify if one element should precede another. |