TArray::HeapTop

Returns the top element from the heap (does not remove the element). Const version.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/Array.h

Include

#include "Containers/Array.h"

Syntax

const ElementType & HeapTop() const

Remarks

Returns the top element from the heap (does not remove the element).

Const version.

Returns

The reference to the top element from the heap.

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