Algo::Heapify

Builds an implicit min-heap from a range of elements.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Algo/Heapify.h

Include

#include "Algo/Heapify.h"

Syntax

namespace Algo
{
    template<typename RangeType, typename PredicateType>
    void Algo::Heapify
    (
        RangeType & Range,
        PredicateType Predicate
    )
}

Remarks

Builds an implicit min-heap from a range of elements.

Parameters

Parameter

Description

Range

The range to heapify.

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