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

#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 60 of file FunctionTraits.h.

Field Documentation

◆ ArgumentCount

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

Definition at line 62 of file FunctionTraits.h.

◆ IsConst

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

Definition at line 67 of file FunctionTraits.h.

◆ IsFunction

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

Definition at line 63 of file FunctionTraits.h.

◆ IsFunctor

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

Definition at line 65 of file FunctionTraits.h.

◆ IsMember

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

Definition at line 66 of file FunctionTraits.h.

◆ IsPointer

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

Definition at line 64 of file FunctionTraits.h.


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