]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
base.h: Comment on presence of min/max duplicates.
authorJohannes Singler <singler@ira.uka.de>
Fri, 25 Sep 2009 08:37:18 +0000 (08:37 +0000)
committerJohannes Singler <singler@gcc.gnu.org>
Fri, 25 Sep 2009 08:37:18 +0000 (08:37 +0000)
2009-09-25  Johannes Singler  <singler@ira.uka.de>

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

From-SVN: r152161

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

index 963b874a4d2db09d6a6eef1d850362de0857f5b3..cf5d185c59d9be839f5fc18f07671684d8949401 100644 (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):
index b70c7337686913a74e33cdcdab74cce2c657f013..21c354829d1a99dc5708b48a9247a2da4a2c8f56 100644 (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&