TIndirectArray::Swap

Element-wise array element swap. This version is doing more sanity checks than SwapMemory.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Containers/IndirectArray.h"

Syntax

void Swap
(
    int32 FirstIndexToSwap,
    int32 SecondIndexToSwap
)

Remarks

Element-wise array element swap.

This version is doing more sanity checks than SwapMemory.

Parameters

Parameter

Description

FirstIndexToSwap

Position of the first element to swap.

SecondIndexToSwap

Position of the second element to swap.