[PATCH] Fix PR c++/30759: Initializer-list accepted for object of non-POD type

Mark Mitchell mark@codesourcery.com
Mon May 28 21:01:00 GMT 2007


Simon Martin wrote:

> +	  /* A non-aggregate that is not a scalar cannot be initialized
> +	     via an initializer-list except in C++0x.  */

Better to say "in C++98" instead of "except in C++0x", since presumably
this will also be allowed in C++1x, C++2x, etc. :-)

OK with that trivial change.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list