This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [Patch] First bits of the algo merge


chris jefferson wrote:

>This proxy iterator is already broken in a bunch of other algorithms
>(for example, you can't use it with std::search, std::search_n,
>std::remove, really anything which delegates to another algorithm, in
>these cases std::find).
>
>Of course, perhaps those other things should be fixed. We wouldn't
>however be breaking things that are already generally supported.
>
Yes, I think the sensible thing to do, now, is fixing current mainline
algorithms to work uniformly with such kind of iterator (or anything
Howard comes up with and we consider representative of user needs).

Then, in a *second* step, when we all agree it's a sensible move (I'm in
favor, to be clear) simplifying the mainline algorithms using the new,
more sophisticated approach.

Anything else seems stupid to me.

Paolo.


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