OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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 117 of file C4AulDefFunc.h.

Member Function Documentation

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 120 of file C4AulDefFunc.h.

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

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

Here is the caller graph for this function:


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