This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/4] Support lambda templates.
- From: Jason Merrill <jason at redhat dot com>
- To: Adam Butcher <adam at jessamine dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, Gabriel Dos Reis <gdr at integrable-solutions dot net>, Andrew Sutton <andrew dot n dot sutton at gmail dot com>
- Date: Mon, 09 Sep 2013 10:05:41 -0400
- Subject: Re: [PATCH 1/4] Support lambda templates.
- Authentication-results: sourceware.org; auth=none
- References: <1377632573-14453-1-git-send-email-adam at jessamine dot co dot uk> <1377632573-14453-2-git-send-email-adam at jessamine dot co dot uk> <5223A1FD dot 7080403 at redhat dot com> <4a32a5dbf7dc798f3b2aa4e9139662f6 at imap dot force9 dot net> <5224DA38 dot 8050508 at redhat dot com> <b2d7c36ababbbb71f4df83bbf1e265a2 at imap dot force9 dot net> <52255C7A dot 70404 at redhat dot com> <682fa7ec431e8595ccb35fe0b1020d4e at imap dot force9 dot net> <522653CC dot 8070605 at redhat dot com> <09271030680b4443206c85ed2d6380ba at imap dot force9 dot net> <229d147b7bc1ea5026729b2fe310c945 at imap dot force9 dot net> <089601a4e3883ebefbf7ab0c9140e5ef at imap dot force9 dot net>
On 09/09/2013 03:22 AM, Adam Butcher wrote:
I've attached a patch that handles parameter packs in the conversion
op. I thought it best to get this reviewed independently before rolling
up into the 'Support lambda templates' patch.
Do you think it's the right idea? It seems to work okay but I've
reworked the way the template op call is built (and built a separate
call for the decltype expression).
Yes, that looks fine.
Jason