[Bug c++/26512] g++ doesn't recognize user-defined operator<<(ostream, const pair<int, double> &)
olaf dot dietsche at gfa-net dot de
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 22:57:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list