This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51989] std::deque::iterator recognised as container
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2012 17:32:12 +0000
- Subject: [Bug c++/51989] std::deque::iterator recognised as container
- Auto-submitted: auto-generated
- References: <bug-51989-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51989
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-25 17:32:12 UTC ---
(In reply to comment #5)
> Jason, shouldn't deduction fail for ((U*)0)->foo() with U=void instead of
> giving an error?
Yep. Need to pass complain into build_x_arrow.