MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::FunctionTraits::TFunctionTraits< T > Struct Template Reference

Get signature information about any function declaring type (function pointer or functor structs including lambda functions). It should be used in other templates. More...

#include <FunctionTraits.h>

Static Public Attributes

static constexpr size_t ArgumentCount = 0
 
static constexpr bool IsFunction = false
 
static constexpr bool IsPointer = false
 
static constexpr bool IsFunctor = false
 
static constexpr bool IsMember = false
 
static constexpr bool IsConst = false
 

Detailed Description

template<typename T>
struct Mcro::FunctionTraits::TFunctionTraits< T >

Get signature information about any function declaring type (function pointer or functor structs including lambda functions). It should be used in other templates.

Template Parameters
Tthe inferred type of the input function. 99% of cases this should be inferred.

Definition at line 82 of file FunctionTraits.h.

Field Documentation

◆ ArgumentCount

template<typename T >
size_t Mcro::FunctionTraits::TFunctionTraits< T >::ArgumentCount = 0
staticconstexpr

Definition at line 84 of file FunctionTraits.h.

◆ IsConst

template<typename T >
bool Mcro::FunctionTraits::TFunctionTraits< T >::IsConst = false
staticconstexpr

Definition at line 89 of file FunctionTraits.h.

◆ IsFunction

template<typename T >
bool Mcro::FunctionTraits::TFunctionTraits< T >::IsFunction = false
staticconstexpr

Definition at line 85 of file FunctionTraits.h.

◆ IsFunctor

template<typename T >
bool Mcro::FunctionTraits::TFunctionTraits< T >::IsFunctor = false
staticconstexpr

Definition at line 87 of file FunctionTraits.h.

◆ IsMember

template<typename T >
bool Mcro::FunctionTraits::TFunctionTraits< T >::IsMember = false
staticconstexpr

Definition at line 88 of file FunctionTraits.h.

◆ IsPointer

template<typename T >
bool Mcro::FunctionTraits::TFunctionTraits< T >::IsPointer = false
staticconstexpr

Definition at line 86 of file FunctionTraits.h.


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