UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TRotationInPlaceMerge< TRotationPolicy > Class Template Reference

#include <Sorting.h>

Static Public Member Functions

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

Detailed Description

template<class TRotationPolicy>
class TRotationInPlaceMerge< TRotationPolicy >

Merge policy for merge sort.

@template_param TRotationPolicy Policy for array rotation algorithm.

Member Function Documentation

◆ Merge()

template<class TRotationPolicy >
template<class T , class PREDICATE_CLASS >
static void TRotationInPlaceMerge< TRotationPolicy >::Merge ( T *  First,
const int32  Mid,
const int32  Num,
const PREDICATE_CLASS Predicate 
)
inlinestatic

Two sorted arrays merging function.

Parameters
FirstPointer to array.
MidMiddle point i.e. separation point of two arrays to merge.
NumNumber of elements in array.
PredicatePredicate for comparison.

The documentation for this class was generated from the following file: