ug4
ug::bridge::func_traits< TRet(*)()> Struct Template Reference

#include <function_traits.h>

Public Types

typedef TypeList params_type
 
typedef TRet return_type
 

Static Public Member Functions

static TRet apply (TRet(*fp)(), TypeValueList< params_type > &args)
 

Static Public Attributes

static const bool custom_return = std::is_same<TRet, CustomReturn>::value
 

Member Typedef Documentation

◆ params_type

template<typename TRet >
typedef TypeList ug::bridge::func_traits< TRet(*)()>::params_type

◆ return_type

template<typename TRet >
typedef TRet ug::bridge::func_traits< TRet(*)()>::return_type

Member Function Documentation

◆ apply()

template<typename TRet >
static TRet ug::bridge::func_traits< TRet(*)()>::apply ( TRet(*)()  fp,
TypeValueList< params_type > &  args 
)
inlinestatic

Member Data Documentation

◆ custom_return

template<typename TRet >
const bool ug::bridge::func_traits< TRet(*)()>::custom_return = std::is_same<TRet, CustomReturn>::value
static

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