Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/Transform.h |
Include |
#include "Algo/Transform.h" |
namespace Algo
{
template<typename InT, typename OutT, typename PredicateT, typename TransformT>
void Algo::TransformIf
(
const InT & Input,
OutT & Output,
PredicateT Predicate,
TransformT Trans
)
}
Conditionally applies a transform to a range and stores the results into a container
Parameter |
Description |
---|---|
Input |
Any iterable type |
Output |
Container to hold the output |
Predicate |
Condition which returns true for elements that should be transformed and false for elements that should be skipped |
Trans |
Transformation operation |