Navigation
API > API/Runtime > API/Runtime/uLangCore
Description
Performs heap sort on the elements. This is the internal sorting function used by HeapSort overrides.
| Name | uLang::AlgoImpl::HeapSortInternal |
| 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, class PredicateType>
void uLang::AlgoImpl::HeapSortInternal
(
RangeValueType * First,
int32_t Num,
ProjectionType Projection,
PredicateType Predicate
)
}
}
Parameters
| Name | Remarks |
|---|---|
| First | pointer to the first element to sort |
| Num | the number of elements to sort |
| Predicate | predicate class |