Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
decltype(auto) TransformTuple
(
TTuple< Types... >&& Tuple, |
Creates a new TTuple by applying a functor to each of the elements. | Templates/Tuple.h | |
decltype(auto) TransformTuple
(
const TTuple< Types... >& Tuple, |
Templates/Tuple.h |
TransformTuple(TTuple< Types... > &&, FuncType)
Description
Creates a new TTuple by applying a functor to each of the elements.
Example:
float Overloaded(int32 Arg); char Overloaded(const TCHAR* Arg); const TCHAR* Overloaded(const FString& Arg);
void Func(const TTuple
| Name | TransformTuple |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Tuple.h |
| Include Path | #include "Templates/Tuple.h" |
template<typename FuncType, typename... Types>
decltype(auto) TransformTuple
(
TTuple < Types... > && Tuple,
FuncType Func
)
A new tuple of the transformed elements.
Parameters
| Name | Remarks |
|---|---|
| Tuple | The tuple to apply the functor to. |
| Func | The functor to apply. |
TransformTuple(const TTuple< Types... > &, FuncType)
| Name | TransformTuple |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Tuple.h |
| Include Path | #include "Templates/Tuple.h" |
template<typename FuncType, typename... Types>
decltype(auto) TransformTuple
(
const TTuple < Types... > & Tuple,
FuncType Func
)