https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90190
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sat Apr 20 06:18:39 2019 New Revision: 270468 URL: https://gcc.gnu.org/viewcvs?rev=270468&root=gcc&view=rev Log: PR c++/90190 - CTAD with list-constructor. The passage quoted talks about an initializer list containing a single expression, but a braced-init-list is not an expression. * pt.c (do_class_deduction): Don't try the single element deduction if the single element is also a braced list. Added: trunk/gcc/testsuite/g++.dg/cpp1z/class-deduction65.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c