Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates > API/Runtime/Core/Templates/TRotationInPlaceMerge
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Templates/Sorting.h |
| Include | #include "Templates/Sorting.h" |
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
| Name | 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. |