r221632 - in /branches/c++-concepts: ChangeLog....

asutton@gcc.gnu.org asutton@gcc.gnu.org
Tue Mar 24 13:15:00 GMT 2015


Author: asutton
Date: Tue Mar 24 13:15:42 2015
New Revision: 221632

URL: https://gcc.gnu.org/viewcvs?rev=221632&root=gcc&view=rev
Log:
2015-03-24  Andrew Sutton  <andrew.n.sutton@gmail.com>

	Make implicit conversion constraints handle usual
	conversions, not just implicit conversions.
	* gcc/cp/constraint.cc (check_implicit_conversion_constraint): 
	Use perform_direct_initialization_if_possible to test for
	converibility instead of can_convert_arg.
	* gcc/testsuite/g++.dg/concepts/req10.C: New.


Added:
    branches/c++-concepts/gcc/testsuite/g++.dg/concepts/req10.C
Modified:
    branches/c++-concepts/ChangeLog.concepts
    branches/c++-concepts/gcc/cp/constraint.cc



More information about the Gcc-cvs mailing list