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: [C++0x] avoid extra tentative parse in range-based for loops


On 10/29/2010 08:27 AM, Rodrigo Rivas wrote:
I've been thinking for a time about the issue discussed in
http://gcc.gnu.org/ml/gcc/2010-09/msg00379.html
and I think I've got a solution!

At the standards committee meeting last week I proposed changing type-specifier-seq to decl-specifier-seq in the range-based for loop (http://open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1204), and people agreed. The change hasn't gone into the WP yet, but I expect it will at the next meeting. Can you update your patch accordingly?


Looking back, it looks like I didn't mention that I was going to suggest this; sorry for not keeping you in the loop.

Jason


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