MCRO
C++23 utilities for Unreal Engine.
|
#include <FunctionTraits.h>
Public Types | |
using | Return = ReturnIn |
using | Arguments = TTuple<Args...> |
using | ArgumentsDecay = TTuple<typename TDecay<Args>::Type...> |
using | Signature = Return(Args...) |
template<int I> | |
using | Arg = typename TTupleElement<I, Arguments>::Type |
template<int I> | |
using | ArgDecay = typename TTupleElement<I, ArgumentsDecay>::Type |
Static Public Attributes | |
static constexpr size_t | ArgumentCount = sizeof...(Args) |
Definition at line 30 of file FunctionTraits.h.
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::Arg = typename TTupleElement<I, Arguments>::Type |
Definition at line 46 of file FunctionTraits.h.
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::ArgDecay = typename TTupleElement<I, ArgumentsDecay>::Type |
Definition at line 49 of file FunctionTraits.h.
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::Arguments = TTuple<Args...> |
The input parameters of the function as a tuple type. Types are not decayed.
Definition at line 37 of file FunctionTraits.h.
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::ArgumentsDecay = TTuple<typename TDecay<Args>::Type...> |
The input parameters of the function as a tuple type. Types are decayed (useful for storage)
Definition at line 40 of file FunctionTraits.h.
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::Return = ReturnIn |
Definition at line 34 of file FunctionTraits.h.
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::Signature = Return(Args...) |
The pure function signature with other information stripped from it
Definition at line 43 of file FunctionTraits.h.
|
staticconstexpr |
Definition at line 32 of file FunctionTraits.h.