TMergeSort

Merge sort class.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/Sorting.h"

Syntax

template<class TMergePolicy, int32 MinMergeSubgroupSize>
class TMergeSort

Remarks

Merge sort class.

TMergePolicy Merging policy. MinMergeSubgroupSize Minimal size of the subgroup that should be merged.

Functions

Name Description

Public function Static

void

 

Sort

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

Sort the array.

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