template<typename T, bool isClass = std::is_class<T>::value>
struct mlir::FunctionTraits< T, isClass >
This class provides various trait information about a callable object.
- To access the number of arguments: Traits::num_args
- To access the type of an argument: Traits::arg_t<i>
- To access the type of the result: Traits::result_t<i>