diff options
author | Jason Merrill <jason@redhat.com> | 2021-02-03 21:56:59 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2021-02-03 22:03:40 -0500 |
commit | 787f3ebf00d4e1f741ea03b6ddea9cf07a6f94ac (patch) | |
tree | 64633bcfe3be8bf6212c9982bd8d52b2659b2b47 /libcpp/expr.c | |
parent | 7b258ac7afaaf7d8157df10ea35c6002d935d7d0 (diff) | |
download | gcc-787f3ebf00d4e1f741ea03b6ddea9cf07a6f94ac.zip gcc-787f3ebf00d4e1f741ea03b6ddea9cf07a6f94ac.tar.gz gcc-787f3ebf00d4e1f741ea03b6ddea9cf07a6f94ac.tar.bz2 |
c++: No aggregate CTAD with explicit dguide [PR98802]
In my implementation of P2082R1 I missed this piece: the aggregate deduction
candidate is not generated if the class has user-written deduction guides.
gcc/cp/ChangeLog:
PR c++/98802
* pt.c (do_class_deduction): No aggregate guide if any_dguides_p.
gcc/testsuite/ChangeLog:
PR c++/98802
* g++.dg/cpp1z/class-deduction78.C: New test.
Diffstat (limited to 'libcpp/expr.c')
0 files changed, 0 insertions, 0 deletions