AlgoImpl::HeapSortInternal

Performs heap sort on the elements.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Algo/Impl/BinaryHeap.h

Include

#include "Algo/Impl/BinaryHeap.h"

Syntax

namespace AlgoImpl
{
    template<typename RangeValueType, typename ProjectionType, class PredicateType>
    void AlgoImpl::HeapSortInternal
    (
        RangeValueType * First,
        int32 Num,
        ProjectionType Projection,
        PredicateType Predicate
    )
}

Remarks

Performs heap sort on the elements. This is the internal sorting function used by HeapSort overrides.

Parameters

Parameter

Description

First

pointer to the first element to sort

Num

the number of elements to sort

Predicate

predicate class

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss