This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Visibility and C++ Classes/Templates


Hmm, I'm starting to be convinced that ignoring #pragma visibility for all template instantiations and specializations will be a simpler rule for users to understand. So the #pragma affects namespace-scope declarations, but not declarations that in any sense "belong" to another namespace-scope declaration (class, function or template). I think that'll be more straightforward than making a subtle distinction between class members and template specializations.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]