TArray::HeapTop

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/Array.h"

Syntax

ElementType & HeapTop()

Remarks

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

Returns

The reference to the top element from the heap.