pt.c (coerce_template_template_parm): Moved the body of the loop of coerce_template_template_parms here...
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.
From-SVN: r133543
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| abi | Loading commit data... | |
| bprob | Loading commit data... | |
| charset | Loading commit data... | |
| compat | Loading commit data... | |
| conversion | Loading commit data... | |
| cpp | Loading commit data... | |
| cpp0x | Loading commit data... | |
| debug | Loading commit data... | |
| eh | Loading commit data... | |
| expr | Loading commit data... | |
| ext | Loading commit data... | |
| gcov | Loading commit data... | |
| gomp | Loading commit data... | |
| inherit | Loading commit data... | |
| init | Loading commit data... | |
| lookup | Loading commit data... | |
| opt | Loading commit data... | |
| other | Loading commit data... | |
| overload | Loading commit data... | |
| parse | Loading commit data... | |
| pch | Loading commit data... | |
| rtti | Loading commit data... | |
| special | Loading commit data... | |
| tc1 | Loading commit data... | |
| template | Loading commit data... | |
| tls | Loading commit data... | |
| torture | Loading commit data... | |
| tree-prof | Loading commit data... | |
| tree-ssa | Loading commit data... | |
| vect | Loading commit data... | |
| warn | Loading commit data... | |
| README | Loading commit data... | |
| dg.exp | Loading commit data... | |
| pubtypes.C | Loading commit data... |