This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: search/search_n vs find/find_if
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>,Chris Jefferson <caj at cs dot york dot ac dot uk>
- Date: Wed, 02 Mar 2005 12:11:53 +0100
- Subject: Re: search/search_n vs find/find_if
- References: <42259CC6.50208@suse.de>
Paolo Carlini wrote:
Can you see anything wrong with calling find_if, instead? Actually,
first blush, I don't understand why find_if was not exploited also in
the original HP/SGI code...
In order to implement this, bind2nd is needed, apparently, but I cannot
see anything wrong...
Paolo.