This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

V4 Lambda templates and implicit function templates.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]