This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
V4 Lambda templates and implicit function templates.
- From: Adam Butcher <adam at jessamine dot co dot uk>
- To: Jason Merrill <jason at redhat dot com>
- 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>, Adam Butcher <adam at jessamine dot co dot uk>
- Date: Tue, 10 Sep 2013 03:19:45 +0100
- Subject: V4 Lambda templates and implicit function templates.
- Authentication-results: sourceware.org; auth=none
Hi Jason,
Here's the latest patch set; reduced to two patches now.
Remaining issues:
- Instantiation of generic conversion op ICEs if the call op contains
declarations and hasn't already been instantiated.
- Still haven't figured out a clean way to make 'auto...' work.
Cheers,
Adam
Patch summary (2):
Support lambda templates.
Support using 'auto' in a function parameter list to introduce an
implicit template parameter.
gcc/cp/Make-lang.in | 5 +-
gcc/cp/cp-tree.h | 2 +
gcc/cp/decl.c | 14 +++-
gcc/cp/decl2.c | 5 +-
gcc/cp/lambda.c | 189 +++++++++++++++++++++++++++++++++++-------
gcc/cp/parser.c | 235 +++++++++++++++++++++++++++++++++++++++++++++++++---
gcc/cp/parser.h | 6 ++
gcc/cp/pt.c | 39 +++++----
gcc/cp/type-utils.h | 55 ++++++++++++
9 files changed, 486 insertions(+), 64 deletions(-)
create mode 100644 gcc/cp/type-utils.h
--
1.8.4