[Bug libstdc++/51749] Including <algorithm> pollutes global namespace

nmm1 at cam dot ac.uk gcc-bugzilla@gcc.gnu.org
Tue Jun 11 09:39:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51749

--- Comment #17 from Nick Maclaren <nmm1 at cam dot ac.uk> ---
I will just add to comment 8 that dumping large chunks of the POSIX
namespace in isn't legal, unless WG21 have completely lost their
marbles :-)

But, as people have said, this isn't fixable by hacking - not least
because it would have to be done in translation phase 4, not 8, so
namespaces would not be a permissable tool.  We shall have to wait
for a proper fix.



More information about the Gcc-bugs mailing list