Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Algo::LegacySort
(
RangeType&& Range |
Sort a range of elements using its operator<. | Algo/LegacySort.h | |
void Algo::LegacySort
(
RangeType&& Range, |
Sort a range of elements using a user-defined predicate class. | Algo/LegacySort.h |
Algo::LegacySort(RangeType &&)
Description
Sort a range of elements using its operator<. The sort is unstable. This used to be Algo::Sort and is now considered legacy.
| Name | Algo::LegacySort |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/LegacySort.h |
| Include Path | #include "Algo/LegacySort.h" |
namespace Algo
{
template<typename RangeType>
void Algo::LegacySort
(
RangeType && Range
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to sort. |
Algo::LegacySort(RangeType &&, PredicateType)
Description
Sort a range of elements using a user-defined predicate class. The sort is unstable. This used to be Algo::Sort and is now considered legacy.
| Name | Algo::LegacySort |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/LegacySort.h |
| Include Path | #include "Algo/LegacySort.h" |
namespace Algo
{
template<typename RangeType, typename PredicateType>
void Algo::LegacySort
(
RangeType && Range,
PredicateType Pred
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to sort. |
| Predicate | A binary predicate object used to specify if one element should precede another. |