Navigation
API > API/Runtime > API/Runtime/Core
Description
Makes a TTuple from some arguments. The type of the TTuple elements are the decayed versions of the arguments.
Example:
void Func(const int32 A, FString&& B) { // Equivalent to: // TTuple
| Name | MakeTuple |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Tuple.h |
| Include Path | #include "Templates/Tuple.h" |
template<typename... Types>
TTuple < std::decay_t< Types >... > MakeTuple
(
Types &&... Args
)
A tuple containing a copy of the arguments.
Parameters
| Name | Remarks |
|---|---|
| Args | The arguments used to construct the tuple. |