https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123615 Bug 123615 depends on bug 125900, which changed state.
Bug 125900 Summary: A splice expression in a static_cast expression within a template-for statement causes an unexpected error: "consteval-only expressions are only allowed in a constant-evaluated context" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125900 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED
