tqchen commented on code in PR #229: URL: https://github.com/apache/tvm-ffi/pull/229#discussion_r2506948326
########## include/tvm/ffi/function_details.h: ########## @@ -134,11 +141,11 @@ struct FunctionInfo<R (Class::*)(Args...) const, /*! \brief Using static function to output typed function signature */ using FGetFuncSignature = std::string (*)(); -/*! - * \brief Auxilary argument value with context for error reporting - */ +template <typename Type, bool = TypeSupported<Type>> Review Comment: I am mainly hesitant about this extra template generic here, if we restrict to `const T&, T, T&&` is this still necessary, or is it sufficient if we update ArgSupported to indicate arg is supported. The main consideration here is if we can reduce the extra template generic to reduce template complexity, it can help -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
