MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args > Struct Template Reference

#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)
 

Detailed Description

template<typename ReturnIn, typename... Args>
struct Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >

Definition at line 30 of file FunctionTraits.h.

Member Typedef Documentation

◆ Arg

template<typename ReturnIn , typename... Args>
template<int I>
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::Arg = typename TTupleElement<I, Arguments>::Type

Definition at line 46 of file FunctionTraits.h.

◆ ArgDecay

template<typename ReturnIn , typename... Args>
template<int I>
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::ArgDecay = typename TTupleElement<I, ArgumentsDecay>::Type

Definition at line 49 of file FunctionTraits.h.

◆ Arguments

template<typename ReturnIn , typename... Args>
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.

◆ ArgumentsDecay

template<typename ReturnIn , typename... Args>
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.

◆ Return

template<typename ReturnIn , typename... Args>
using Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::Return = ReturnIn

Definition at line 34 of file FunctionTraits.h.

◆ Signature

template<typename ReturnIn , typename... Args>
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.

Field Documentation

◆ ArgumentCount

template<typename ReturnIn , typename... Args>
size_t Mcro::FunctionTraits::Detail::TFunctionMeta< ReturnIn, Args >::ArgumentCount = sizeof...(Args)
staticconstexpr

Definition at line 32 of file FunctionTraits.h.


The documentation for this struct was generated from the following file: