Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo
References
| Module | Core |
| 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&58;&58;TransformIf
&40;
const InT & Input,
OutT && Output,
PredicateT Predicate,
TransformT Trans
&41;
}
Remarks
Conditionally applies a transform to a range and stores the results into a container
Parameters
| Name | 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 |