OSDN Git Service

PR c++/47080
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jun 2011 14:40:38 +0000 (14:40 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jun 2011 14:40:38 +0000 (14:40 +0000)
commit139a41291fd4994519fef686e65e5c96043c930b
tree5547a21a42cea0d32c973213b19d667cb827c2e9
parentdf0c20308581a4495e2059b973d676c6125f9b69
PR c++/47080
* call.c (rejection_reason_code): Add rr_explicit_conversion.
(print_z_candidate): Handle it.
(explicit_conversion_rejection): New.
(build_user_type_conversion_1): Reject an explicit conversion
function that requires more than a qualification conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175217 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/explicit6.C [new file with mode: 0644]