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

r235219 - in /trunk/gcc: cp/ChangeLog cp/call.c...


Author: jason
Date: Tue Apr 19 18:50:08 2016
New Revision: 235219

URL: https://gcc.gnu.org/viewcvs?rev=235219&root=gcc&view=rev
Log:
	DR 2137 - copy-constructor rank in list-initialization

	* call.c (implicit_conversion): If we choose a copy constructor
	for list-initialization from the same type, the conversion is an
	exact match.

Added:
    trunk/gcc/testsuite/g++.dg/DRs/
    trunk/gcc/testsuite/g++.dg/DRs/dr2137-1.C
    trunk/gcc/testsuite/g++.dg/DRs/dr2137-2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c


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