Navigation
API > API/Runtime > API/Runtime/Core
Description
Makes a TTuple from some arguments. Unlike MakeTuple, the TTuple element types are references and retain the same value category of the arguments, like the Forward function.
Example:
template
void Func(const int32 A, FString&& B) { // Calls Foo
| Name | ForwardAsTuple |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Tuple.h |
| Include Path | #include "Templates/Tuple.h" |
template<typename... Types>
TTuple < Types &&... > ForwardAsTuple
(
Types &&... Args
)
A tuple containing forwarded references to the arguments.
Parameters
| Name | Remarks |
|---|---|
| Args | The arguments used to construct the tuple. |