Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Algo/Copy.h |
| Include | #include "Algo/Copy.h" |
namespace Algo
{
template<typename InT, typename OutT, typename PredicateT>
void Algo::CopyIf
(
const InT & Input,
OutT & Output,
PredicateT Predicate
)
}
Remarks
Conditionally copies a range 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 copied and false for elements that should be skipped |