https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120917
--- Comment #21 from Frank Heckenbach <f.heckenb...@fh-soft.de> --- (In reply to Jason Merrill from comment #20) > (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. I don't think so. My workaround, if it's viable, is localized and can be done with text substitution (sed), the explicit template-head is not localized (often affecting multiple lines) and cannot easily be automated AFAICS. So my question stands.