This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] : so_7 search improvement take 2
- From: Paolo Carlini <pcarlini at suse dot de>
- To: chris jefferson <caj at cs dot york dot ac dot uk>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 27 Jun 2005 12:42:25 +0200
- Subject: Re: [patch] : so_7 search improvement take 2
- References: <42B81760.4020006@cs.york.ac.uk>
Hi Chris and sorry for the (expected) delay,
> OK, here is another attempt.
>
> Mainly because of the problem with unions (which I think won't be
> solvable until when/if tr1::is_union appears), I've decided to scale
> back. Now I have only specialised __bind2nd (a internal special
> version of bind2nd) for __gnu_cxx::__ops::equal_to, which means that
> we aren't penalising people who don't give a predicate.
>
> The patch to std::search and the testsuite remains identical.
I like this version and certainly we need something safe and solid to
fix 21796. I'm going to have a closer look, regtest it again on a couple
of arches and then, if everything goes well, commit it (v7-branch only,
for now, of course).
Thanks!
Paolo.