r244682 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Jan 20 04:43:00 GMT 2017


Author: jason
Date: Fri Jan 20 04:43:19 2017
New Revision: 244682

URL: https://gcc.gnu.org/viewcvs?rev=244682&root=gcc&view=rev
Log:
	US 20 - forwarding references and class template argument deduction

	* cp-tree.h (TEMPLATE_TYPE_PARM_FOR_CLASS): New.
	* pt.c (push_template_decl_real): Set it.
	(maybe_adjust_types_for_deduction): Check it.
	(rewrite_template_parm): Copy it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction26.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c



More information about the Gcc-cvs mailing list