[Bug c++/51817] [C++11] argument deduction fails when A-type parameter-type-list has additional parameters

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 23:09:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51817

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid, wrong-code |
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
As I understand the complaint it is about rejecting what's thought to be valid
code, so the Keywords should be "rejects-valid" (not "accepts-invalid" or
"wrong-code").

I also note that the most recent versions of Clang and the EDG front end both
reject the example. (I haven't re-read the referenced paper or checked the
latest standard to say if the code really is valid.)


More information about the Gcc-bugs mailing list