[Bug c++/52824] [C++11] expanding variadic template arguments into non-variadic template

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 13 19:46:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52824

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-13 19:44:31 UTC ---
Author: jason
Date: Fri Apr 13 19:44:27 2012
New Revision: 186436

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186436
Log:
    PR c++/52824
    * pt.c (any_pack_expanson_args_p): New.
    (coerce_template_parms): Use it.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/variadic123.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/pt.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/alias-decl-15.C



More information about the Gcc-bugs mailing list