P0702R1 - List deduction of vector.
authorJason Merrill <jason@redhat.com>
Wed, 26 Jul 2017 17:39:31 +0000 (13:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 26 Jul 2017 17:39:31 +0000 (13:39 -0400)
commit6cad8c86b86637e9987a02cf84bddb1e8e397319
tree5a959ef1d5915187a56f52c69d0350b97774e4c8
parent80e7cb2d6b46db10b739d7c311524975721596ba
P0702R1 - List deduction of vector.

* pt.c (do_class_deduction): Special-case deduction from a single
element of related type.

From-SVN: r250584
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/class-deduction42.C [new file with mode: 0644]