Commit 4b512659 by Jason Merrill

* parser.c (cp_parser_check_template_parameters): Improve comment.

From-SVN: r259276
parent 24f80aa4
......@@ -26452,8 +26452,8 @@ cp_parser_check_template_parameters (cp_parser* parser,
lists, that's OK. */
if (parser->num_template_parameter_lists == num_templates)
return true;
/* If there are more, but only one more, then we are referring to a
member template. That's OK too. */
/* If there are more, but only one more, and the name ends in an identifier,
then we are declaring a primary template. That's OK too. */
if (!template_id_p
&& parser->num_template_parameter_lists == num_templates + 1)
return true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment