AlgoImpl::HeapifyInternal

Builds an implicit min-heap from a range of 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, typename PredicateType>
    void AlgoImpl::HeapifyInternal
    (
        RangeValueType * First,
        int32 Num,
        ProjectionType Projection,
        PredicateType Predicate
    )
}

Remarks

Builds an implicit min-heap from a range of elements. This is the internal function used by Heapify overrides.

Parameters

Parameter

Description

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.

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