Re: [C++2A] Implement P1008R1 - prohibit aggregates with user-declared constructors

2018-07-31 Thread Jason Merrill
On Mon, Jul 30, 2018 at 9:01 PM, Jakub Jelinek wrote: > Seems what is considered an aggregate type keeps changing in every single > C++ version. Indeed :/ > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? This is OK. I think we could also use a -Wc++2a-compat warning, and

[C++2A] Implement P1008R1 - prohibit aggregates with user-declared constructors

2018-07-30 Thread Jakub Jelinek
Hi! Seems what is considered an aggregate type keeps changing in every single C++ version. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2018-07-27 Jakub Jelinek P1008R1 - prohibit aggregates with user-declared constructors * class.c (check_bases_and_me