mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
124 files changed.
This commit is contained in:
14
Project Reboot 3.0/Sort.h
Normal file
14
Project Reboot 3.0/Sort.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "IntroSort.h"
|
||||
|
||||
#include "UnrealTemplate.h"
|
||||
|
||||
namespace Algo
|
||||
{
|
||||
template <typename RangeType, typename PredicateType>
|
||||
FORCEINLINE void Sort(RangeType& Range, PredicateType Pred)
|
||||
{
|
||||
IntroSort(Range, MoveTemp(Pred));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user