template auto parameter should not pass type
huangminghuang opened this issue · 1 comments
huangminghuang commented
In function_traits.hpp:105, the template function is_callable_v
is declared to accept an auto parameter; however, the calling side is passed a type parameter decltype(fn)
which causes a compiler error on Apple clang version 14. The code should be changed to if constexpr (is_callable(fn))
instead.
heifner commented
Related: EOSIO/eos-vm#210