This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26037] no match for 'operator<<'
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2006 18:00:10 -0000
- Subject: [Bug c++/26037] no match for 'operator<<'
- References: <bug-26037-12100@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pcarlini at suse dot de 2006-01-30 18:00 -------
Not a bug, this is how name lookup works. And any conforming, up to date,
compiler behaves in the same way. You can fix your code moving operator<<
inside namespace MyNameSpace.
I'm sure there are many duplicates, I'm going to link C++/7049 (see Comment #6)
*** This bug has been marked as a duplicate of 7049 ***
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26037