This is the mail archive of the gcc@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] Range-based for statements and ADL


On Fri, Mar 25, 2011 at 1:34 PM, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:
> But what is that `unified range concept'? ÂAnd why do we need it?
See Boost.Range for the concept and possibly uses. There has been some
discussion to accept it in the standard, IIRC.

> Exactly. ÂWhich for me means, it must be simple. ÂSimple to learn,
> simple to use, simple to teach.
The range-for as it is specified in this thread *is* simple to learn
use and teach. Not so easy to implement, but not so hard either.
I am merely pointing out that strictly emulating the range-for
behavior is far from trivial.

> BTW, if you are trying to change the specification is gcc-patches
> the appropriate place to discuss that?
I have no intention to specify anything, I'm just suggesting that it
would be nice to have a library function that does this.
And this is not gcc-patches@ but gcc@: "Anything relevant to the
development or testing of GCC and not covered by other mailing lists
is suitable for discussion here."
--
Rodrigo


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