This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26512] g++ doesn't recognize user-defined operator<<(ostream, const pair<int, double> &)
- From: "olaf dot dietsche at gfa-net dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2006 22:57:18 -0000
- Subject: [Bug c++/26512] g++ doesn't recognize user-defined operator<<(ostream, const pair<int, double> &)
- References: <bug-26512-12289@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from olaf dot dietsche at gfa-net dot de 2006-03-03 22:57 -------
I looked at your link and at issue 197. I don't see how this applies to my bug
report, especially in connection with _user defined_ types. What I don't
understand is, why does g++ handle builtin types different than user defined
types. e.g:
operator<<(ostream, const pair<int, double> &)
vs.
operator<<(ostream, const pair<int, struct A> &)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26512