https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65630
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- If we are going to export these it might make sense to add extern template declarations, so the compiler knows the symbols will be in the library and doesn't bother instantiating them. Otherwise the only people to benefit from it are those who non-portably use -fno-implicit-templates