OpenClonk
ExecImpl< void, ThisType, ParTypes... > Struct Template Reference

#include <C4AulDefFunc.h>

Static Public Member Functions

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

Detailed Description

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

Definition at line 128 of file C4AulDefFunc.h.

Member Function Documentation

◆ Exec()

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

Definition at line 131 of file C4AulDefFunc.h.

132  {
133  pFunc(_this, C4ValueConv<ParTypes>::_FromC4V(pPars[Is])...);
134  return C4Value();
135  (void) pPars;
136  }

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