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: [PATCH] Fix PR c++/30759: Initializer-list accepted for object of non-POD type


On Mon, 28 May 2007, Mark Mitchell wrote:

| 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. :-)

I agree; and I hope the test for the flag is adjusted accordingly.

Thanks!

-- Gaby


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