This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34696] Overloaded template losing type in invoking a superclass method?
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2008 17:34:56 -0000
- Subject: [Bug c++/34696] Overloaded template losing type in invoking a superclass method?
- References: <bug-34696-15589@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bangerth at dealii dot org 2008-01-07 17:34 -------
(In reply to comment #0)
> o << arg;
This line calls the global operator
ostream operator<< (ostream, char*)
whereas this one
> std::ostringstream::operator<<(arg);
clearly needs a member function operator<<. The best one is the one with
void* argument.
So not a bug.
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34696