Navigation
API > API/Runtime > API/Runtime/uLangCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULANG_FORCEINLINE auto uLang::Algo::BinarySearch
(
const RangeType& Range, |
uLang/Common/Algo/BinarySearch.h | ||
ULANG_FORCEINLINE auto uLang::Algo::BinarySearch
(
const RangeType& Range, |
Returns index to the first found element matching a value in a range, the range must be sorted by < | uLang/Common/Algo/BinarySearch.h |
uLang::Algo::BinarySearch(const RangeType &, const ValueType &)
| Name | uLang::Algo::BinarySearch |
| 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::BinarySearch
(
const RangeType & Range,
const ValueType & Value
)
}
}
uLang::Algo::BinarySearch(const RangeType &, const ValueType &, SortPredicateType)
Description
Returns index to the first found element matching a value in a range, the range must be sorted by <
| Name | uLang::Algo::BinarySearch |
| 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::BinarySearch
(
const RangeType & Range,
const ValueType & Value,
SortPredicateType SortPredicate
)
}
}
Index of found element, or IndexNone
Parameters
| Name | Remarks |
|---|---|
| Range | The range to search, must be already sorted by SortPredicate |
| Value | The value to search for |
| SortPredicate | Predicate for sort comparison, defaults to < |