This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: [C++0x] issues with range-based for loops
On 11/15/2010 03:07 AM, Rodrigo Rivas wrote:
Hello.
I'd like this patch to be reviewed.
http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02476.html
It solves some pending issues with range-based for loops. The more
important one is that the following code should compile:
for (struct S {} s; ; ) ;
I can see how that code might be compliant with the draft standard, but
I fail to understand how GCC being able to compile it is actually useful :-)
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming@digium.com
Check us out at www.digium.com & www.asterisk.org