summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/parallel/partition.h
diff options
context:
space:
mode:
authorJohannes Singler <singler@ira.uka.de>2009-09-25 08:35:15 +0000
committerJohannes Singler <singler@gcc.gnu.org>2009-09-25 08:35:15 +0000
commitda8d2b60561eff7e9abdbfd6fe12f21f74aefd58 (patch)
tree7a2869639d4a6f3cccbef9552c56b360541aa3b6 /libstdc++-v3/include/parallel/partition.h
parentd3dbe5a48bf2d4a2225900cee36fc31b00e0f4f9 (diff)
downloadgcc-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
Diffstat (limited to 'libstdc++-v3/include/parallel/partition.h')
-rw-r--r--libstdc++-v3/include/parallel/partition.h9
1 files changed, 4 insertions, 5 deletions
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);