This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Final algo patch for v7-branch
- From: Howard Hinnant <hhinnant at apple dot com>
- To: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 15 Dec 2005 15:19:19 -0500
- Subject: Re: [Patch] Final algo patch for v7-branch
- References: <43A191A0.4090502@suse.de>
On Dec 15, 2005, at 10:54 AM, Paolo Carlini wrote:
The below would be the last, hopefully final ;) iteration. Tested
x86-linux.
Nice catch on the std:: qualifiers for min/max. :-)
All the concept check stuff looks good to me.
Can you double check this one?
Index: src/string-inst.cc
===================================================================
--- src/string-inst.cc (revision 106945)
+++ src/string-inst.cc (working copy)
@@ -76,7 +76,7 @@
template
const C*
__find_if(const C*, const C*,
- __gnu_cxx::__ops::__bind2nd<bool(*)(const C&, const C&), C>,
+ __gnu_cxx::__ops::__bind2nd<C, C, bool(*)(const C&, const C&)>,
random_access_iterator_tag);
} // namespace std
I think it should be:
Index: src/string-inst.cc
===================================================================
--- src/string-inst.cc (revision 106945)
+++ src/string-inst.cc (working copy)
@@ -76,7 +76,7 @@
template
const C*
__find_if(const C*, const C*,
- __gnu_cxx::__ops::__bind2nd<bool(*)(const C&, const C&), C>,
+ __gnu_cxx::__ops::__bind2nd<C, bool(*)(const C&, const C&)>,
random_access_iterator_tag);
} // namespace std
(extra "C, " removed)
-Howard