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