Navigation
API > API/Runtime > API/Runtime/Core
Description
Ties n objects with an Add function, usually containers, into one object with an Add function accepting an n-tuple that forwards the Add calls.
This is useful for algorithms such as Algo::Transform and Algo::Copy.
Example: TArray
| Name | Algo::TieTupleAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/TiedTupleOutput.h |
| Include Path | #include "Algo/TiedTupleOutput.h" |
namespace Algo
{
template<typename... OutputTypes>
Private::TTiedTupleAdder < OutputTypes... > Algo::TieTupleAdd
(
OutputTypes &... Outputs
)
}
An object with an Add function that will call Add on the tied elements
Parameters
| Name | Remarks |
|---|---|
| Outputs | Objects with an Add() function |