HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tf_FuncSig< Ret, ArgTypeList > Struct Template Reference

#include <functionTraits.h>

Public Types

using ReturnType = Ret
 
using ArgTypes = ArgTypeList
 
using ArgsTuple = TfMetaApply< std::tuple, ArgTypes >
 
template<size_t N>
using NthArg = std::tuple_element_t< N, ArgsTuple >
 

Static Public Attributes

static const size_t Arity = TfMetaApply<TfMetaLength, ArgTypes>::value
 

Detailed Description

template<class Ret, class ArgTypeList>
struct Tf_FuncSig< Ret, ArgTypeList >

Definition at line 40 of file functionTraits.h.

Member Typedef Documentation

template<class Ret , class ArgTypeList >
using Tf_FuncSig< Ret, ArgTypeList >::ArgsTuple = TfMetaApply<std::tuple, ArgTypes>

Definition at line 44 of file functionTraits.h.

template<class Ret , class ArgTypeList >
using Tf_FuncSig< Ret, ArgTypeList >::ArgTypes = ArgTypeList

Definition at line 43 of file functionTraits.h.

template<class Ret , class ArgTypeList >
template<size_t N>
using Tf_FuncSig< Ret, ArgTypeList >::NthArg = std::tuple_element_t<N, ArgsTuple>

Definition at line 48 of file functionTraits.h.

template<class Ret , class ArgTypeList >
using Tf_FuncSig< Ret, ArgTypeList >::ReturnType = Ret

Definition at line 42 of file functionTraits.h.

Member Data Documentation

template<class Ret , class ArgTypeList >
const size_t Tf_FuncSig< Ret, ArgTypeList >::Arity = TfMetaApply<TfMetaLength, ArgTypes>::value
static

Definition at line 45 of file functionTraits.h.


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