Navigation
API > API/Runtime > API/Runtime/uLangCore
Description
Builds an implicit min-heap from a range of elements. This is the internal function used by Heapify overrides.
| Name | uLang::AlgoImpl::HeapifyInternal |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Algo/HeapSort.h |
| Include Path | #include "uLang/Common/Algo/HeapSort.h" |
namespace uLang
{
namespace AlgoImpl
{
template<typename RangeValueType, typename ProjectionType, typename PredicateType>
ULANG_FORCEINLINE void uLang::AlgoImpl::HeapifyInternal
(
RangeValueType * First,
int32_t Num,
ProjectionType Projection,
PredicateType Predicate
)
}
}
Parameters
| Name | Remarks |
|---|---|
| First | pointer to the first element to heapify |
| Num | the number of items to heapify |
| Projection | The projection to apply to the elements. |
| Predicate | A binary predicate object used to specify if one element should precede another. |