This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++1y] [Implicit Fix instantiation of implicit function template forward declarations.
- From: Jason Merrill <jason at redhat dot com>
- To: Adam Butcher <adam at jessamine dot co dot uk>
- Cc: Gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 Sep 2013 13:03:09 -0500
- Subject: Re: [C++1y] [Implicit Fix instantiation of implicit function template forward declarations.
- Authentication-results: sourceware.org; auth=none
- References: <aab3c5f0904dd90157f3f33892a74bfe at imap dot force9 dot net>
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?
Jason