[Bug c++/38175] Explicit instantiation of a template hides symbols with the default visibility attribute

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 24 21:04:00 GMT 2008



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-11-24 21:03 -------
I think this is expected behavior because you said only that one instantiation
is not hidden and but not in all translational units.  You should most likely
use extern template to get the behavior you want.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38175



More information about the Gcc-bugs mailing list