MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::FunctionTraits::CInstanceMethod Concept Reference

Tests if a provided class member function pointer instance (not type!) is indeed an instance member method. Negating it can assume static class member function. More...

#include <FunctionTraits.h>

Concept definition

template<auto FuncPtr>
TFunction_Class<decltype(FuncPtr)>* instance,
TFunction_Arguments<decltype(FuncPtr)> argsTuple
) {
InvokeWithTuple(instance, FuncPtr, argsTuple);
}
Tests if a provided class member function pointer instance (not type!) is indeed an instance member m...
typename TFunctionTraits< std::decay_t< T > >::Class TFunction_Class
Shorthand for getting the class of a member function.
TFunction_Return< Function > InvokeWithTuple(Function &&function, Tuple &&arguments)
A clone of std::apply for Unreal, STL and RangeV3 tuples which also supports function pointers.
typename TFunctionTraits< std::decay_t< T > >::Arguments TFunction_Arguments
Shorthand for getting a tuple representing the function arguments.

Detailed Description

Tests if a provided class member function pointer instance (not type!) is indeed an instance member method. Negating it can assume static class member function.

Definition at line 381 of file FunctionTraits.h.