[Bug c++/56904] rejection of legal code in c++11 mode. (maybe namespace lookup problem)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 11 09:16:00 GMT 2013


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-11 09:16:08 UTC ---
I guess you can either use
::n::E n::S::foo() { return e; }
or
::n::E (::n::S::foo)() { return e; }



More information about the Gcc-bugs mailing list