This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for libstdc++/48760 (list-initialization of complex)
- From: Jason Merrill <jason at redhat dot com>
- To: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- Date: Wed, 27 Apr 2011 22:02:10 -0400
- Subject: Re: C++ PATCH for libstdc++/48760 (list-initialization of complex)
- References: <4DB8C483.8060108@redhat.com>
On 04/27/2011 09:36 PM, Jason Merrill wrote:
A a = { 1, 2 };
a.c is initialized to 1+0i rather than 1+2i as it has been previously,
This should have said "a.c is initialized to 1+0i, as it has been
previously, rather than 1+2i, as it would be if it were an aggregate".
Jason