This is the mail archive of the
mailing list for the GCC project.
Re: [C++2A] Implement P1008R1 - prohibit aggregates with user-declared constructors
- From: Jason Merrill <jason at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Nathan Sidwell <nathan at acm dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 1 Aug 2018 00:12:30 +1000
- Subject: Re: [C++2A] Implement P1008R1 - prohibit aggregates with user-declared constructors
- References: <20180730110147.GT17988@tucnak>
On Mon, Jul 30, 2018 at 9:01 PM, Jakub Jelinek <firstname.lastname@example.org> wrote:
> 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?
This is OK. I think we could also use a -Wc++2a-compat warning, and
an inform in 2a mode about why your initializer doesn't work any more,
but they don't need to go in right now.