diff options
author | Jason Merrill <jason@redhat.com> | 2019-04-20 02:18:39 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-04-20 02:18:39 -0400 |
commit | 1474a2e567653b9a1856b4cb28a64a8eeb3c7c9d (patch) | |
tree | c44f0a4514314df1b521b0a7c1ce72bbff4dc3d3 /libphobos | |
parent | d395d8e771fce88e46e5c3908e53669adb5b71c4 (diff) | |
download | gcc-1474a2e567653b9a1856b4cb28a64a8eeb3c7c9d.zip gcc-1474a2e567653b9a1856b4cb28a64a8eeb3c7c9d.tar.gz gcc-1474a2e567653b9a1856b4cb28a64a8eeb3c7c9d.tar.bz2 |
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.
From-SVN: r270468
Diffstat (limited to 'libphobos')
0 files changed, 0 insertions, 0 deletions