Greetings,
I was wondering if any one was working on the C++-0x range for loop.
I found an implementation in ConceptGCC that looks like it could be
modified.
The basic strategy was to parse the loop and essentially rewrite it as
an old fashioned loop.
Of course concepts were used to come up with functions to get begin and
end iterators.
We would look them up from the library (they are already in).
The parsing part worked with very little change. I'm stuck on the
semantics part. In particular
I'm getting an ICE initializing an rvalue from the input container
expression.
If no one is already doing this I might continue to try my hand at it.
Since this is my first foray into the front end I'll b begging for help ;-).
Ed Smith-Rowland