OpenClonk
ExecImpl< RType, ThisType, ParTypes > Struct Template Reference

#include <C4AulDefFunc.h>

Static Public Member Functions

template<std::size_t... Is>
static C4Value Exec (RType(*pFunc)(ThisType *, ParTypes...), ThisType *_this, C4Value pPars[], std::index_sequence< Is... >)
 

Detailed Description

template<typename RType, typename ThisType, typename ... ParTypes>
struct ExecImpl< RType, ThisType, ParTypes >

Definition at line 118 of file C4AulDefFunc.h.

Member Function Documentation

◆ Exec()

template<typename RType , typename ThisType , typename ... ParTypes>
template<std::size_t... Is>
static C4Value ExecImpl< RType, ThisType, ParTypes >::Exec ( RType(*)(ThisType *, ParTypes...)  pFunc,
ThisType *  _this,
C4Value  pPars[],
std::index_sequence< Is... >   
)
inlinestatic

Definition at line 121 of file C4AulDefFunc.h.

122  {
123  return C4Value(pFunc(_this, C4ValueConv<ParTypes>::_FromC4V(pPars[Is])...));
124  (void) pPars;
125  }

Referenced by C4AulEngineFunc< RType, ThisType, ParTypes >::Exec().

Here is the caller graph for this function:

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