Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Algo::IsSorted
(
const RangeType& Range |
Tests if a range is sorted by its element type's operator<. | Algo/IsSorted.h | |
bool Algo::IsSorted
(
const RangeType& Range, |
Tests if a range is sorted by a user-defined predicate. | Algo/IsSorted.h |
Algo::IsSorted(const RangeType &)
Description
Tests if a range is sorted by its element type's operator<.
| Name | Algo::IsSorted |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IsSorted.h |
| Include Path | #include "Algo/IsSorted.h" |
namespace Algo
{
template<typename RangeType>
bool Algo::IsSorted
(
const RangeType & Range
)
}
true if the range is sorted, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Range | The container to test for being sorted. |
Algo::IsSorted(const RangeType &, PredType)
Description
Tests if a range is sorted by a user-defined predicate.
| Name | Algo::IsSorted |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IsSorted.h |
| Include Path | #include "Algo/IsSorted.h" |
namespace Algo
{
template<typename RangeType, typename PredType>
bool Algo::IsSorted
(
const RangeType & Range,
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. |