https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 105222, which changed state.
Bug 105222 Summary: gcc totally broken with ternary operator for lambda in requires clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105222 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE