Support implicit parameter packs.
authorAdam Butcher <adam@jessamine.co.uk>
Tue, 12 Nov 2013 20:17:44 +0000 (20:17 +0000)
committerAdam Butcher <abutcher@gcc.gnu.org>
Tue, 12 Nov 2013 20:17:44 +0000 (20:17 +0000)
commit91f1c208261de87fb75bba8124474feba91dd91b
tree87f7a8f525ae28a29777c7a6bfc9ad0639e235df
parent0dca5025f02ad920b12cede50c7968768decee19
Support implicit parameter packs.

* pt.c (convert_generic_types_to_packs): New function to transform
a range of implicitly introduced non-pack template parms to be parameter
packs.
* cp-tree.h (convert_generic_types_to_packs): Declare.
* parser.c (cp_parser_parameter_declaration_list): If a function
parameter pack contains generic types, convert them to packs prior to
grokdeclarator.

From-SVN: r204715
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c