https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 93595, which changed state.
Bug 93595 Summary: [c++20] function call, substitution failure of template parameter with a lambda default in template context https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93595 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED