r133543 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...

dgregor@gcc.gnu.org dgregor@gcc.gnu.org
Wed Mar 26 04:17:00 GMT 2008


Author: dgregor
Date: Wed Mar 26 04:17:57 2008
New Revision: 133543

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133543
Log:
2008-03-26  Douglas Gregor  <doug.gregor@gmail.com>

       * pt.c (coerce_template_template_parm): Moved the body of the loop
       of coerce_template_template_parms here, to make iteration over a
       template argument pack simpler.
       Also, allow matching of a template parameter pack in the template
       template parameter to a template parameter in the template
       template argument.
       (coerce_template_template_parms): Deal with variadic template
       template parameters. Use coerce_template_template_parm.
       (unify): Make sure we coerce the template template argument's
       template arguments to the template template parameter's template
       parameters, not the other way around.

2008-03-26  Douglas Gregor  <doug.gregor@gmail.com>

       * g++.dg/cpp0x/variadic84.C: Update to reflect the change in
       variadic template template parameter binding semantics.
       * g++.dg/cpp0x/variadic85.C: Ditto.
       * g++.dg/cpp0x/variadic88.C: New.
       * g++.dg/cpp0x/variadic89.C: New.
       * g++.dg/cpp0x/variadic90.C: New.
       * g++.dg/cpp0x/variadic-ex14.C: Update to reflect the change in
       variadic template template parameter binding semantics.
       * g++.dg/cpp0x/variadic-lambda.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-lambda.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic88.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic89.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic90.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic-ex14.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic84.C
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic85.C



More information about the Gcc-cvs mailing list