]> gcc.gnu.org Git - gcc.git/commitdiff
partition.h (__parallel_nth_element): Correct comment.
authorJohannes Singler <singler@ira.uka.de>
Fri, 25 Sep 2009 08:35:15 +0000 (08:35 +0000)
committerJohannes Singler <singler@gcc.gnu.org>
Fri, 25 Sep 2009 08:35:15 +0000 (08:35 +0000)
2009-09-25  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/partition.h (__parallel_nth_element):
        Correct comment.

From-SVN: r152160

libstdc++-v3/ChangeLog
libstdc++-v3/include/parallel/partition.h

index 3fa14ac08decfc438756d721d25f5cf566c6eb5f..963b874a4d2db09d6a6eef1d850362de0857f5b3 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-25  Johannes Singler  <singler@ira.uka.de>
+
+        * include/parallel/partition.h (__parallel_nth_element):
+        Correct comment.
+
 2009-09-24  Johannes Singler  <singler@ira.uka.de>
 
         * include/parallel/algo.h: Uglify internal identifiers;
index c8d2965dedb952b0451aa55e0d8e0287ea6ceb81..11362939fc8a084a08bc1bc719558b8adefc4c25 100644 (file)
@@ -358,12 +358,11 @@ template<typename _RAIter, typename _Compare>
           std::swap(*__pivot_pos, *(__end - 1));
         __pivot_pos = __end - 1;
 
-        // XXX _Compare must have first__ValueType, second__ValueType,
-        // _ResultType
-        // _Compare == __gnu_parallel::_Lexicographic<S, int,
-        // __gnu_parallel::_Less<S, S> >
+        // _Compare must have first_value_type, second_value_type,
+        // result_type
+        // _Compare ==
+        // __gnu_parallel::_Lexicographic<S, int, __gnu_parallel::_Less<S, S> >
         // __pivot_pos == std::pair<S, int>*
-        // XXX binder2nd only for _RAIters??
         __gnu_parallel::binder2nd<_Compare, _ValueType, _ValueType, bool>
           __pred(__comp, *__pivot_pos);
 
This page took 0.082438 seconds and 5 git commands to generate.