US 19 - deduction guides and constructors
commitd5d551c7aedeea0b5e48cc793542cbd94abc72bd
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2017 04:43:13 +0000 (20 04:43 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2017 04:43:13 +0000 (20 04:43 +0000)
tree1c8ef26acf7c7f2e37d0cd34a5c207a850688c04
parentee35af1bf5766ccf442e94b086a71bc5096a1f3f
US 19 - deduction guides and constructors

* call.c (joust): Prefer deduction guides to constructors.
* pt.c (build_deduction_guide): Set DECL_ARTIFICIAL.
(deduction_guide_p): Check DECL_P.

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