Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Algo/FindLast.h |
| Include | #include "Algo/FindLast.h" |
namespace Algo
{
template<typename RangeType, typename PredicateType>
decltype, GetNum , MoveTemp )) Algo::FindLastByPredicate
(
RangeType && Range,
PredicateType Pred
)
}
Remarks
Returns a pointer to the last element in the range which matches the predicate. A pointer to the last element found, or nullptr if none was found.
Parameters
| Name | Description |
|---|---|
| Range | The range to search. |
| Pred | The predicate to search for. |