http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54289
--- Comment #5 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-08-16 19:46:16 UTC --- (In reply to comment #4) > Sorry, but I think standard declares that all function should be in std. No. 17.6.1.2 [headers] only says so for non-macros: "In the C++ standard library, however, the declarations (except for names which are defined as macros in C) are within namespace scope (3.3.6) of the namespace std."