This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26512] g++ doesn't recognize user-defined operator<<(ostream, const pair<int, double> &)



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-03-03 23:10 -------
(In reply to comment #4)
> 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:

This does not match what you have in the source:
extern std::ostream &operator <<(std::ostream &f, const M::value_type &p);
M::value_type here is either an user defined type, A or a fundamental type.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]