UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StableSort.h File Reference
#include "Algo/BinarySearch.h"
#include "Algo/Rotate.h"
#include "Templates/IdentityFunctor.h"
#include "Templates/Invoke.h"
#include "Templates/Less.h"
#include "Templates/UnrealTemplate.h"

Go to the source code of this file.

Namespaces

namespace  AlgoImpl
 
namespace  Algo
 

Functions

template<typename T , typename ProjectionType , typename PredicateType >
void AlgoImpl::Merge (T *First, int32 Mid, int32 Num, ProjectionType Projection, PredicateType Predicate)
 
template<typename T , typename ProjectionType , typename PredicateType >
void AlgoImpl::StableSortInternal (T *First, int32 Num, ProjectionType Projection, PredicateType Predicate)
 
template<typename RangeType >
UE_REWRITE void Algo::StableSort (RangeType &&Range)
 
template<typename RangeType , typename PredicateType >
UE_REWRITE void Algo::StableSort (RangeType &&Range, PredicateType Pred)
 
template<typename RangeType , typename ProjectionType >
UE_REWRITE void Algo::StableSortBy (RangeType &&Range, ProjectionType Proj)
 
template<typename RangeType , typename ProjectionType , typename PredicateType >
UE_REWRITE void Algo::StableSortBy (RangeType &&Range, ProjectionType Proj, PredicateType Pred)
 

Variables

constexpr int32 AlgoImpl::MinMergeSubgroupSize = 2