diff options
author | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-15 18:49:47 +0000 |
---|---|---|
committer | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-15 18:49:47 +0000 |
commit | 41341abd86b4bb0312d6c0dafab8e29facbab9c1 (patch) | |
tree | 9b68e1a6f40c5f5f93069912e1b4c9c184633aef /fixincludes/README | |
parent | 613687b11ed5dfe2f75133bcc81bbb8b1406a3f3 (diff) | |
download | gcc-41341abd86b4bb0312d6c0dafab8e29facbab9c1.tar.gz |
2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
PR c++/34751
* pt.c (coerce_template_parameter_pack): When substituting into
the type of a non-type template parameter pack. use the
deduced/substituted arguments.
* parser.c (declarator_can_be_parameter_pack): A pointer-to-member
can be a parameter pack with the ellipsis following it. When we
have an erroneous declaration, allow it to be a parameter pack.
(cp_parser_template_parameter): Complain about default
arguments on non-type template parameter packs, and parse them
using the new cp_parser_default_argument.
(cp_parser_parameter_declaration): Complain about parameter packs
with default arguments. Move parsing of default arguments into a
new function, cp_parser_default_argument.
(cp_parser_default_argument): New; extracted from
cp_parser_parameter_declaration.
2008-01-15 Douglas Gregor <doug.gregor@gmail.com>
PR c++/34751
* g++.dg/cpp0x/vt-34751.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131548 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/README')
0 files changed, 0 insertions, 0 deletions