This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51749] Including <algorithm> pollutes global namespace
- 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: Tue, 11 Jun 2013 09:44:25 +0000
- Subject: [Bug libstdc++/51749] Including <algorithm> pollutes global namespace
- Auto-submitted: auto-generated
- References: <bug-51749-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51749
--- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Comment 8 is only referring to <cstdio> et al putting standard C names in the
global namespace as well as in namespace std, which is legal. We all agree it's
not legal to also put names that aren't from ISO C (e.g. POSIX names) in the
global namespace.