------- 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