------- Comment #2 from jason at gcc dot gnu dot org 2009-02-02 19:02 ------- Jakub's patch looks fine to me.
Benjamin, does you have an opinion about initializer-lists and complex? I guess the library complex class will accept { real, imag } naturally because it has a suitable constructor. Note that initialization with = { 0 } still works normally, and = { 0, 0 } is still rejected as having too many initializers for a scalar, like in C. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bkoz at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39056