TRotationInPlaceMerge::Merge

Two sorted arrays merging function.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/Sorting.h

Include

#include "Templates/Sorting.h"

Syntax

template<class T, class PREDICATE_CLASS>
static void Merge
(
    T * First,
    const int32 Mid,
    const int32 Num,
    const PREDICATE_CLASS & Predicate
)

Remarks

Two sorted arrays merging function.

Parameters

Parameter

Description

First

Pointer to array.

Mid

Middle point i.e. separation point of two arrays to merge.

Num

Number of elements in array.

Predicate

Predicate for comparison.

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