https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109126
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #6) > It works if I add 'inline' to the explicit specialization. Or static. inline will only work for C++17, while variable templates are in C++14 already. And the DR applies to all.