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

Reply via email to