On 25 March 2011 12:27, Rodrigo Rivas wrote: > > IMO, this goes beyond the syntactic sugar that the range-for provides. > It is about specifying a unified 'range' concept. The range-for is > just the first, highly visible, user of this implicit specification.
Yes but it's too late to specify it in C++0x. Boost.Range is the best place to work on that idea at present. If/when it's fully baked I hope we'll see something like that in a future TR or standard.