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++/49152] Unhelpful diagnostic for iterator dereference


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

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-22 14:27:11 UTC ---
(In reply to comment #18)
>  But that is not correct: '&' might be overloaded for the type in question...]

If the diagnostics were improved for all types except for those with overloaded
operator& then I think we could happily mark the PR as FIXED ;)


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