Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Algo::IsSortedBy
(
const RangeType& Range, |
Tests if a range is sorted by a projection of the element type, using the projection's operator<. | Algo/IsSorted.h | |
bool Algo::IsSortedBy
(
const RangeType& Range, |
Tests if a range is sorted by a projection of the element type, using a user-defined predicate on the projection. | Algo/IsSorted.h |
Algo::IsSortedBy(const RangeType &, ProjectionType)
Description
Tests if a range is sorted by a projection of the element type, using the projection's operator<.
| Name | Algo::IsSortedBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IsSorted.h |
| Include Path | #include "Algo/IsSorted.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType>
bool Algo::IsSortedBy
(
const RangeType & Range,
ProjectionType Projection
)
}
true if the range is sorted, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Range | The container to test for being sorted. |
Algo::IsSortedBy(const RangeType &, ProjectionType, PredType)
Description
Tests if a range is sorted by a projection of the element type, using a user-defined predicate on the projection.
| Name | Algo::IsSortedBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IsSorted.h |
| Include Path | #include "Algo/IsSorted.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredType>
bool Algo::IsSortedBy
(
const RangeType & Range,
ProjectionType Projection,
PredType Pred
)
}
true if the range is sorted, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Range | The container to test for being sorted. |
| Pred | A binary sorting predicate which describes the ordering of the elements in the array. |