Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Algo::StableSort
(
RangeType&& Range |
Sort a range of elements using its operator<. The sort is stable. | Algo/StableSort.h | |
void Algo::StableSort
(
RangeType&& Range, |
Sort a range of elements using a user-defined predicate class. The sort is stable. | Algo/StableSort.h |
Algo::StableSort(RangeType &&)
Description
Sort a range of elements using its operator<. The sort is stable.
| Name | Algo::StableSort |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/StableSort.h |
| Include Path | #include "Algo/StableSort.h" |
namespace Algo
{
template<typename RangeType>
void Algo::StableSort
(
RangeType && Range
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to sort. |
Algo::StableSort(RangeType &&, PredicateType)
Description
Sort a range of elements using a user-defined predicate class. The sort is stable.
| Name | Algo::StableSort |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/StableSort.h |
| Include Path | #include "Algo/StableSort.h" |
namespace Algo
{
template<typename RangeType, typename PredicateType>
void Algo::StableSort
(
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. |