TSparseArray::AddAtLowestFreeIndex

Add an element at the lowest free index, instead of the last freed index.

Windows
MacOS
Linux

Deprecated

  • AddAtLowestFreeIndex API is deprecated; please use EmplaceAtLowestFreeIndex instead.

References

Module

Core

Header

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

Include

#include "Containers/SparseArray.h"

Syntax

int32 AddAtLowestFreeIndex
(
    const ElementType & Element,
    int32 & LowestFreeIndexSearchStart
)

Remarks

Add an element at the lowest free index, instead of the last freed index. This requires a search which can be accelerated with LowestFreeIndexSearchStart.

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