This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61401] Wrong treatment of empty template-argument packs during deduction
- 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: Tue, 03 Jun 2014 09:22:03 +0000
- Subject: [Bug c++/61401] Wrong treatment of empty template-argument packs during deduction
- Auto-submitted: auto-generated
- References: <bug-61401-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61401
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The template Y can only be instantiated with an empty parameter pack, which
makes it invalid. [temp.res] p8 says:
"If every valid specialization of a variadic template requires an empty
template parameter pack, the template is ill-formed, no diagnostic required"