http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51930
--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> 2012-02-16 08:23:38 UTC --- (In reply to comment #10) > But think about a header only library. My test case isn't that far fetched. A > simple struct with no member functions (except for the implicitly generated > ones) should need no visibility at all, in my opinion. Sure, but then why do you want the instantiation to have higher visibility? It doesn't make sense to me for a function that has that type in the signature to have higher visibility than the type itself.