Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/ForEach.h |
Include |
#include "Algo/ForEach.h" |
namespace Algo
{
template<typename InT, typename PredicateT, typename CallableT>
void Algo::ForEachIf
(
InT & Input,
PredicateT Predicate,
CallableT Callable
)
}
Conditionally invokes a callable to each element in a range
Parameter |
Description |
---|---|
Input |
Any iterable type |
Predicate |
Condition which returns true for elements that should be called with and false for elements that should be skipped |
Callable |
Callable object |