https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> --- FWIW all compilers accept the code if you replace std::invocable with std::is_invocable_v.
ppalka at gcc dot gnu.org via Gcc-bugs Fri, 31 Jan 2025 06:57:09 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118698
--- Comment #10 from Patrick Palka <ppalka at gcc dot gnu.org> --- FWIW all compilers accept the code if you replace std::invocable with std::is_invocable_v.