This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c++/30759: Initializer-list accepted for object of non-POD type
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