base.h: Comment on presence of min/max duplicates.

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

        * include/parallel/base.h:  Comment on presence of min/max duplicates.

From-SVN: r152161
This commit is contained in:
Johannes Singler 2009-09-25 08:37:18 +00:00 committed by Johannes Singler
parent da8d2b6056
commit 3b06118a0a
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2009-09-25 Johannes Singler <singler@ira.uka.de>
* include/parallel/base.h: Comment on presence of min/max duplicates.
2009-09-25 Johannes Singler <singler@ira.uka.de>
* include/parallel/partition.h (__parallel_nth_element):

View File

@ -88,14 +88,11 @@ namespace __gnu_parallel
return __i > 1 ? __i : 1;
}
inline bool
__is_parallel(const _Parallelism __p) { return __p != sequential; }
// XXX remove std::duplicates from here if possible,
// XXX but keep minimal dependencies.
/** @brief Calculates the rounded-down logarithm of @__c __n for base 2.
* @param __n Argument.
* @return Returns 0 for any argument <1.
@ -139,6 +136,8 @@ decode2(_CASable __x, int& __a, int& __b)
__b = (int)((__x >> 0 ) & _CASable_mask);
}
//needed for parallel "numeric", even if "algorithm" not included
/** @brief Equivalent to std::min. */
template<typename _Tp>
const _Tp&