Navigation
API > API/Developer > API/Developer/TraceServices
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::UpperBound
(
const TPagedArray< ItemType, PageType >& PagedArray, |
Common/PagedArray.h | ||
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::UpperBound
(
const TPagedArray< ItemType, PageType >& PagedArray, |
Performs binary search, resulting in position of the first element > Value. | Common/PagedArray.h |
TraceServices::PagedArrayAlgo::UpperBound(const TPagedArray< ItemType, PageType > &, const ItemType &)
| Name | TraceServices::PagedArrayAlgo::UpperBound |
| Type | function |
| Header File | /Engine/Source/Developer/TraceServices/Public/Common/PagedArray.h |
| Include Path | #include "Common/PagedArray.h" |
namespace TraceServices
{
namespace PagedArrayAlgo
{
template<typename ItemType, typename PageType>
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::UpperBound
(
const TPagedArray < ItemType, PageType > & PagedArray,
const ItemType & Value
)
}
}
TraceServices::PagedArrayAlgo::UpperBound(const TPagedArray< ItemType, PageType > &, const ItemType &, SortPredicateType)
Description
Performs binary search, resulting in position of the first element > Value.
| Name | TraceServices::PagedArrayAlgo::UpperBound |
| Type | function |
| Header File | /Engine/Source/Developer/TraceServices/Public/Common/PagedArray.h |
| Include Path | #include "Common/PagedArray.h" |
namespace TraceServices
{
namespace PagedArrayAlgo
{
template<typename ItemType, typename PageType, typename SortPredicateType>
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::UpperBound
(
const TPagedArray < ItemType, PageType > & PagedArray,
const ItemType & Value,
SortPredicateType SortPredicate
)
}
}
Position of the first element > Value; may be == Num.
Parameters
| Name | Remarks |
|---|---|
| PagedArray | The paged array to search through, must be already sorted by SortPredicate. |
| Value | The value to look for |
| SortPredicate | Predicate for sort comparison; defaults to <. |