http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
Jason Merrill jason at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #4 from Stephen Kell srk31 at srcf dot ucam.org 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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org 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,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49609
--- Comment #6 from Jason Merrill jason at gcc dot gnu.org 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=gccview=revrev=175764
Log:
PR c++/48883
PR