UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Sort.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Algo/IntroSort.h"
6
7
8namespace Algo
9{
15 template <typename RangeType>
16 UE_REWRITE void Sort(RangeType&& Range)
17 {
19 }
20
27 template <typename RangeType, typename PredicateType>
28 UE_REWRITE void Sort(RangeType&& Range, PredicateType Pred)
29 {
31 }
32
39 template <typename RangeType, typename ProjectionType>
40 UE_REWRITE void SortBy(RangeType&& Range, ProjectionType Proj)
41 {
43 }
44
52 template <typename RangeType, typename ProjectionType, typename PredicateType>
57}
#define UE_REWRITE
Definition Platform.h:747
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition ParallelSort.h:13
UE_REWRITE void Sort(RangeType &&Range)
Definition Sort.h:16
UE_REWRITE void SortBy(RangeType &&Range, ProjectionType Proj)
Definition Sort.h:40
UE_REWRITE void IntroSort(RangeType &&Range)
Definition IntroSort.h:149
UE_REWRITE void IntroSortBy(RangeType &&Range, ProjectionType Proj)
Definition IntroSort.h:173