http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #6 from Jason Merrill 2011-07-01
20:24:15 UTC ---
Author: jason
Date: Fri Jul 1 20:24:08 2011
New Revision: 175764
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175764
Log:
PR c++/48883
PR c++/49609
* pt.c (resol
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #5 from Jonathan Wakely 2011-07-01
18:56:19 UTC ---
(In reply to comment #3)
> That's a pretty strained reading. Even if that were pedantically what the
> standard says, it would clearly be an oversight.
ok, good! I would have assu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #4 from Stephen Kell 2011-07-01
18:09:07 UTC ---
(In reply to comment #2)
> That paragraph says that if template argument deduction succeeds then an
> instantiation is generated. In your case deduction doesn't succeed because the
> ta
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #2 from Jonathan Wakely 2011-07-01
16:34:32 UTC ---
(In reply to comment #1)
> The C++ standard lists the contexts in which an overloaded function name can
> be
> used without arguments, and reinterpret_cast is not one of them.
>
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #1 from Jonathan Wakely 2011-07-01
16:19:27 UTC ---
The C++ standard lists the contexts in which an overloaded function name can be
used without arguments, and reinterpret_cast is not one of them.
Based on that, I would think G++ 4.4