On 23.09.2013 19:03, Jason Merrill wrote:
On 09/23/2013 01:53 AM, Adam Butcher wrote:
+  if (member_p)
+    decl = finish_fully_implicit_template (parser, decl);
+  else
+    finish_fully_implicit_template (parser, /*member_decl_opt=*/0);

Why don't we want to return the template for the non-member case?

If the decl is passed to finish_fully_implicit_template it is considered to be a member and the finished member returned. In the non-member case, nullptr is returned.

Reply via email to