[Bug c++/85093] [7/8 Regression] wrong number of template arguments does not trigger error when one argument is variadic
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 27 14:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85093
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |6.4.0
Keywords| |accepts-invalid
Last reconfirmed| |2018-03-27
CC| |jason at gcc dot gnu.org
Ever confirmed|0 |1
Summary|wrong number of template |[7/8 Regression] wrong
|arguments does not trigger |number of template
|error when one argument is |arguments does not trigger
|variadic |error when one argument is
| |variadic
Known to fail| |7.3.0, 8.0.1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Started to be accepted with r243869
Fix handling of explicit function template arguments with TTPs.
gcc/cp/
* pt.c (coerce_template_parms): Consider variadic_args_p before
complaining about too many template arguments.
libstdc++-v3/
* testsuite/util/testsuite_tr1.h (test_property): Don't define both
variadic and non-variadic overloads.
More information about the Gcc-bugs
mailing list