[C++ Patch] PR 69095

Jason Merrill jason@redhat.com
Mon May 23 17:30:00 GMT 2016


On 05/23/2016 11:25 AM, Paolo Carlini wrote:
> On 23/05/2016 15:32, Jason Merrill wrote:
>> On 05/22/2016 02:26 PM, Paolo Carlini wrote:
>>> finally sending a patch for this issue. As noticed by submitter himself,
>>> it appears to boil down to a rather straightforward case of not
>>> rejecting unexpanded parameter packs in default arguments. In order to
>>> handle all the combinations (in/out of class, template
>>> parameter/function parameter) I added calls of
>>> check_for_bare_parameter_packs both to cp_parser_default_argument and
>>> cp_parser_late_parsing_default_args
>>
>> Hmm, would it make sense to check in cp_parser_initializer?
> Oh yes. The below is already past g++.dg/tm...

OK if testing passes.

Jason



More information about the Gcc-patches mailing list