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.
In function_traits.hpp:105, the template function
is_callable_vis declared to accept an auto parameter; however, the calling side is passed a type parameterdecltype(fn)which causes a compiler error on Apple clang version 14. The code should be changed toif constexpr (is_callable(fn))instead.