51 template <
typename ClassType,
typename T>
52 struct FunctionTraits<T ClassType::*> :
public FunctionTraits<T> {};
55 template <
typename ClassType,
typename ReturnType,
typename... Args>
56 struct FunctionTraits<ReturnType (ClassType::*)(Args...) const>
57 :
public FunctionTraits<ReturnType(Args...)> {};
61 struct FunctionTraits<T&> :
public FunctionTraits<T> {};
63 struct FunctionTraits<T*> :
public FunctionTraits<T> {};
66 template <
typename ReturnType,
typename... Args>
67 struct FunctionTraits<ReturnType(Args...)> {
69 enum { arity =
sizeof...(Args) };
76 typedef typename std::tuple_element<i, std::tuple<Args...>>
::type type;
85 using res_t =
typename traits::result_type;
91 using res_t =
typename traits::result_type;
98 using res_t =
typename traits::result_type;
std::tuple< Args... > ArgsTuple
Definition: FuncionTraits.h:71
FunctionTraits< T > traits
Definition: FuncionTraits.h:97
FunctionTraits< T > traits
Definition: FuncionTraits.h:84
Definition: FuncionTraits.h:35
std::tuple_element< i, std::tuple< Args... > >::type type
Definition: FuncionTraits.h:76
FunctionTraits< T > traits
Definition: FuncionTraits.h:90
typename traits::result_type res_t
Definition: FuncionTraits.h:91
typename traits::result_type res_t
Definition: FuncionTraits.h:85
typename traits::result_type res_t
Definition: FuncionTraits.h:98
char type
Definition: FilePCD.cpp:60
Definition: FuncionTraits.h:96
Definition: FuncionTraits.h:89
Definition: PinholeCameraIntrinsic.cpp:35
ReturnType result_type
Definition: FuncionTraits.h:72
typename traits::template arg< 0 >::type arg0_t
Definition: FuncionTraits.h:92
Definition: FuncionTraits.h:83
typename traits::template arg< 0 >::type arg0_t
Definition: FuncionTraits.h:99
typename traits::template arg< 1 >::type arg1_t
Definition: FuncionTraits.h:100