Navigation
API > API/Runtime > API/Runtime/uLangCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULANG_FORCEINLINE auto uLang::Algo::UpperBound
(
const RangeType& Range, |
uLang/Common/Algo/BinarySearch.h | ||
ULANG_FORCEINLINE auto uLang::Algo::UpperBound
(
const RangeType& Range, |
Performs binary search, resulting in position of the first element > Value using predicate | uLang/Common/Algo/BinarySearch.h |
uLang::Algo::UpperBound(const RangeType &, const ValueType &)
| Name | uLang::Algo::UpperBound |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Algo/BinarySearch.h |
| Include Path | #include "uLang/Common/Algo/BinarySearch.h" |
namespace uLang
{
namespace Algo
{
template<typename RangeType, typename ValueType>
ULANG_FORCEINLINE auto uLang::Algo::UpperBound
(
const RangeType & Range,
const ValueType & Value
)
}
}
uLang::Algo::UpperBound(const RangeType &, const ValueType &, SortPredicateType)
Description
Performs binary search, resulting in position of the first element > Value using predicate
| Name | uLang::Algo::UpperBound |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Algo/BinarySearch.h |
| Include Path | #include "uLang/Common/Algo/BinarySearch.h" |
namespace uLang
{
namespace Algo
{
template<typename RangeType, typename ValueType, typename SortPredicateType>
ULANG_FORCEINLINE auto uLang::Algo::UpperBound
(
const RangeType & Range,
const ValueType & Value,
SortPredicateType SortPredicate
)
}
}
Position of the first element > Value, may be past end of range
Parameters
| Name | Remarks |
|---|---|
| Range | Range to search through, must be already sorted by SortPredicate |
| Value | Value to look for |
| SortPredicate | Predicate for sort comparison, defaults to < |