This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49152] Unhelpful diagnostic for iterator dereference
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2012 14:27:11 +0000
- Subject: [Bug c++/49152] Unhelpful diagnostic for iterator dereference
- Auto-submitted: auto-generated
- References: <bug-49152-4@http.gcc.gnu.org/bugzilla/>
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 ;)