Navigation
API > API/Runtime > API/Runtime/Core
Description
Visits each element in the specified tuples in parallel and applies them as arguments to the functor. All specified tuples must have the same number of elements.
Example:
void Func(const TTuple
| Name | VisitTupleElements |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Tuple.h |
| Include Path | #include "Templates/Tuple.h" |
template<typename FuncType, typename FirstTupleType, typename... TupleTypes>
void VisitTupleElements
(
FuncType && Func,
FirstTupleType && FirstTuple,
TupleTypes &&... Tuples
)
Parameters
| Name | Remarks |
|---|---|
| Func | The functor to apply. |
| Tuples | The tuples whose elements are to be applied to the functor. |