Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Algo::IntroSortBy
(
RangeType&& Range, |
Sort a range of elements by a projection using the projection's operator<. The sort is unstable. | Algo/IntroSort.h | |
void Algo::IntroSortBy
(
RangeType&& Range, |
Sort a range of elements by a projection using a user-defined predicate class. | Algo/IntroSort.h |
Algo::IntroSortBy(RangeType &&, ProjectionType)
Description
Sort a range of elements by a projection using the projection's operator<. The sort is unstable.
| Name | Algo::IntroSortBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IntroSort.h |
| Include Path | #include "Algo/IntroSort.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType>
void Algo::IntroSortBy
(
RangeType && Range,
ProjectionType Proj
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to sort. |
| Proj | The projection to sort by when applied to the element. |
Algo::IntroSortBy(RangeType &&, ProjectionType, PredicateType)
Description
Sort a range of elements by a projection using a user-defined predicate class. The sort is unstable.
| Name | Algo::IntroSortBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IntroSort.h |
| Include Path | #include "Algo/IntroSort.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredicateType>
void Algo::IntroSortBy
(
RangeType && Range,
ProjectionType Proj,
PredicateType Predicate
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to sort. |
| Proj | The projection to sort by when applied to the element. |
| Predicate | A binary predicate object, applied to the projection, used to specify if one element should precede another. |