[Bug c++/92869] [10 Regression] C++17 wrongly reports aggregate type as not-aggregate (when explicitly defaulted ctors are added)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 10 13:11:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92869

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
#c5 is rejected with -std=c++2a starting with r263115 aka
http://wg21.link/p1008r1
So, I believe it is correct to reject this in C++20, but I think neither of
those papers have been a DR and so shouldn't affect C++17 or earlier
compilation modes.


More information about the Gcc-bugs mailing list