https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |ASSIGNED
Last reconfirmed| |2025-07-07
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #20 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Frank Heckenbach from comment #18)
> So, could this be a viable workaround?
If you're going to modify your code to address this, it seems more
straightforward to add the explicit template-head.