partition.h (__parallel_nth_element): Correct comment.

2009-09-25  Johannes Singler  <singler@ira.uka.de>

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

From-SVN: r152160
This commit is contained in:
Johannes Singler 2009-09-25 08:35:15 +00:00 committed by Johannes Singler
parent d3dbe5a48b
commit da8d2b6056
2 changed files with 9 additions and 5 deletions

View 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;

View 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);