This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50745] proposal to make visibility of namespace std configurable
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Oct 2011 13:51:57 +0000
- Subject: [Bug libstdc++/50745] proposal to make visibility of namespace std configurable
- Auto-submitted: auto-generated
- References: <bug-50745-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50745
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-16 13:51:57 UTC ---
I understand the benefit of hiding internal implementation details, but your
proposal seems to imply that you could alter the visibility of everything in
namespace std e.g. std::string would have hidden visibility. What's the point
of the standard library if you can't use any of it outside libstdc++.so ?