Merge policy for merge sort. 更多...
#include <Sorting.h>
静态 Public 成员函数 | |
| template<class T , class PREDICATE_CLASS > | |
| static void | Merge (T *First, const int32 Mid, const int32 Num, const PREDICATE_CLASS &Predicate) |
| Two sorted arrays merging function. 更多... | |
Merge policy for merge sort.
@template_param TRotationPolicy Policy for array rotation algorithm.
|
inlinestatic |
Two sorted arrays merging function.
| 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. |