Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/FindLast.h |
Include |
#include "Algo/FindLast.h" |
namespace Algo
{
template<typename RangeType, typename ValueType, typename ProjectionType>
auto Algo::FindLastBy
(
RangeType && Range,
const ValueType & Value,
ProjectionType Proj
)
}
Returns a pointer to the last element in the range whose projection is equal to the given value.
A pointer to the last element found, or nullptr if none was found.
Parameter |
Description |
---|---|
Range |
The range to search. |
Value |
The value to search for. |
Proj |
The projection to apply to the element. |