[Bug c++/41960] g++: friend introduce name into namespace, violate standard

pi3orama at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 6 04:09:00 GMT 2009



------- Comment #3 from pi3orama at gmail dot com  2009-11-06 04:09 -------
Then why

#define TYPE  N::B

works?

why argument dependent lookup doesn't take effect? Both B and func are in
namespace N.


-- 


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



More information about the Gcc-bugs mailing list