TRotationInPlaceMerge

Merge policy for merge sort. TRotationPolicy Policy for array rotation algorithm.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/Sorting.h"

Syntax

template<class TRotationPolicy>
class TRotationInPlaceMerge

Remarks

Merge policy for merge sort.

TRotationPolicy Policy for array rotation algorithm.

Functions

Name Description

Public function Static

void

 

Merge

(
    T* First,
    const int32 Mid,
    const int32 Num,
    const PREDICATE_CLASS& Predicate
)

Two sorted arrays merging function.

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