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] Final algo patch for v7-branch



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


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