We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
current registerFunction need to fill many argument types:
template <typename TExecParams> struct MyPlusFunction { FOLLY_ALWAYS_INLINE void call(int64_t& out, const int64_t& a, const int64_t& b) { out = a + b; } }; registerFunction<MyPlusFunction, int64_t, int64_t, int64_t>({"my_plus"});
I think it can be simplified:
registerFunction<MyPlusFunction>({"my_plus"});
Because the argument types can be trait by function traits.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
current registerFunction need to fill many argument types:
I think it can be simplified:
Because the argument types can be trait by function traits.
The text was updated successfully, but these errors were encountered: