Previous: Diagnostic Pragmas, Up: Pragmas
#pragma GCC visibility push(
visibility)
#pragma GCC visibility pop
In C++, `#pragma GCC visibility' affects only namespace-scope declarations. Class members and template specializations are not affected; if you want to override the visibility for a particular member or instantiation, you must use an attribute.