Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/Find.h |
Include |
#include "Algo/Find.h" |
namespace Algo
{
template<typename RangeType, typename PredicateType>
auto Algo::FindByPredicate
(
RangeType && Range,
PredicateType Pred
)
}
Returns a pointer to the first element in the range which matches the predicate.
A pointer to the first element found, or nullptr if none was found.
Parameter |
Description |
---|---|
Range |
The range to search. |
Pred |
The predicate to search for. |