diff options
author | Johannes Singler <singler@ira.uka.de> | 2009-09-25 08:35:15 +0000 |
---|---|---|
committer | Johannes Singler <singler@gcc.gnu.org> | 2009-09-25 08:35:15 +0000 |
commit | da8d2b60561eff7e9abdbfd6fe12f21f74aefd58 (patch) | |
tree | 7a2869639d4a6f3cccbef9552c56b360541aa3b6 | |
parent | d3dbe5a48bf2d4a2225900cee36fc31b00e0f4f9 (diff) | |
download | gcc-da8d2b60561eff7e9abdbfd6fe12f21f74aefd58.tar.gz |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/parallel/partition.h | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 3fa14ac08de..963b874a4d2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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; diff --git a/libstdc++-v3/include/parallel/partition.h b/libstdc++-v3/include/parallel/partition.h index c8d2965dedb..11362939fc8 100644 --- a/libstdc++-v3/include/parallel/partition.h +++ b/libstdc++-v3/include/parallel/partition.h @@ -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); |