This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2005 22:21:35 -0000
- Subject: [Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations
- References: <20050128064457.19664.andreas.pokorny@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From geoffk at gcc dot gnu dot org 2005-08-29 22:21 -------
There was a comment in here about making visibility control happen at the namespace level.
How would this work with, say, 'vector<mytype>'? I would expect that if -fvisibility=hidden is set, then
this instantiation should also be hidden, because presumably 'mytype' is a type private to this object. If
some other object defines a different 'mytype', it certainly shouldn't use the same 'vector' implementation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664