[Bug c++/11870] Namespace lookup failure. Inside a function of a class in a namespace, a >> b does not look ::operator>>(a, b) if an operator>> of the same namespace is declared as friend.

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 11 15:09:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at codesourcery dot
                   |                            |com


------- Additional Comments From bangerth at dealii dot org  2003-08-11 15:09 -------
Not being an expert in  friendship and/or lookup rules, this observation might be interesting: 
icc behaves in exactly the same way as gcc. So one could suspect that there's a reason. 
Nathan, can you say what's right and what's wrong here? 
 
W.



More information about the Gcc-bugs mailing list