When merging to release branches the work on <algorithm> we have to resolve this issue: the new unified std::search doesn't exploit std::find, and a small performance regression is possible, in theory: at least benchmark. FWIW, in mainline, we have an inconsistency instead: only the version not taking a predicate does use std::find.
-- Summary: (v7-branch) std::search not using std::find Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pcarlini at suse dot de CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21796