This is the mail archive of the gcc-bugs@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]

[Bug c++/77890] class template type deduction fails for lambda functions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77890

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Oct 10 20:48:51 2016
New Revision: 240948

URL: https://gcc.gnu.org/viewcvs?rev=240948&root=gcc&view=rev
Log:
C++17 class deduction issues

        PR c++/77890
        PR c++/77912
        * pt.c (do_class_deduction): Set cp_unevaluated_operand.
        (tsubst) [TEMPLATE_TYPE_PARM]: Copy CLASS_PLACEHOLDER_TEMPLATE.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction19.C
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

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