https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83644
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Reduced to: namespace std { template <typename> bool is_invocable_v; } template <typename F> auto compose(F) { [](auto... objs) noexcept(std::is_invocable_v<decltype(objs)...>){}; } auto f() { compose(3); }