TrueReality  v0.1.1912
trUtil::FunctorCall< CallType, R, TYPELIST_7(P1, P2, P3, P4, P5, P6, P7)> Struct Template Reference

A functor call. More...

#include <FunCall.h>

Public Types

using ParmsListType = trUtil::InstantiateH< typename trUtil::CreateTL< P1, P2, P3, P4, P5, P6, P7 >::Type, trUtil::TupleHolder >
 

Static Public Member Functions

template<class Fun >
static R Call (Fun const &fun, ParmsListType &parms)
 
template<class PObj >
static R Call (PObj const &pobj, CallType memfun, ParmsListType &parms)
 

Detailed Description

template<typename CallType, typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6, typename P7>
struct trUtil::FunctorCall< CallType, R, TYPELIST_7(P1, P2, P3, P4, P5, P6, P7)>

A functor call.

Template Parameters
CallTypeType of the call type.
RType of the r.
TYPELIST_7(P1Type of the typelist 7( p 1.
P2Type of the p 2.
P3Type of the p 3.
P4Type of the p 4.
P5Type of the p 5.
P6Type of the p 6.
P7)Type of the 7)

Definition at line 453 of file FunCall.h.

Member Typedef Documentation

◆ ParmsListType

template<typename CallType , typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 >
using trUtil::FunctorCall< CallType, R, TYPELIST_7(P1, P2, P3, P4, P5, P6, P7)>::ParmsListType = trUtil::InstantiateH<typename trUtil::CreateTL<P1, P2, P3, P4, P5, P6, P7>::Type, trUtil::TupleHolder>

Definition at line 455 of file FunCall.h.

Member Function Documentation

◆ Call() [1/2]

template<typename CallType , typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 >
template<class Fun >
static R trUtil::FunctorCall< CallType, R, TYPELIST_7(P1, P2, P3, P4, P5, P6, P7)>::Call ( Fun const &  fun,
ParmsListType parms 
)
inlinestatic

Definition at line 456 of file FunCall.h.

◆ Call() [2/2]

template<typename CallType , typename R , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 , typename P7 >
template<class PObj >
static R trUtil::FunctorCall< CallType, R, TYPELIST_7(P1, P2, P3, P4, P5, P6, P7)>::Call ( PObj const &  pobj,
CallType  memfun,
ParmsListType parms 
)
inlinestatic

Definition at line 467 of file FunCall.h.


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