This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH for libstdc++/48760 (list-initialization of complex)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]