Re: C++ PATCH for c++/60417 (explicit ctor vs aggregate init)

2014-08-06 Thread Jason Merrill
On 08/01/2014 08:51 PM, Jason Merrill wrote: ...and for array initialization as well. Small tweak: we don't need to mess with empty_list if we don't have any trailing elements to initialize. commit 44aef29c18bfd087d9b7bd72699bad9c72e272fb Author: Jason Merrill Date: Wed Aug 6 15:22:44 20

Re: C++ PATCH for c++/60417 (explicit ctor vs aggregate init)

2014-08-01 Thread Jason Merrill
On 03/04/2014 05:14 PM, Jason Merrill wrote: In C++11, copy-list-initialization by explicit constructor is an error, even for the default constructor. But this combined with the change of aggregate initialization to use {} for any missing initializers means that well-formed C++03 code becomes il

C++ PATCH for c++/60417 (explicit ctor vs aggregate init)

2014-03-04 Thread Jason Merrill
In C++11, copy-list-initialization by explicit constructor is an error, even for the default constructor. But this combined with the change of aggregate initialization to use {} for any missing initializers means that well-formed C++03 code becomes ill-formed in C++11. Until the committee dec