stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept.
authorPhil Edwards <pme@gcc.gnu.org>
Fri, 13 Apr 2001 09:28:56 +0000 (09:28 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Fri, 13 Apr 2001 09:28:56 +0000 (09:28 +0000)
2001-04-13  Phil Edwards  <pme@sources.redhat.com>

* include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
of EqualityComparableConcept.

From-SVN: r41334

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h

index 0c68727f98ce6b3730520e7f6491f1f2da66151a..0f1c2d7a1cd345a7b9f84af4a4810039ddda1d8f 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-13  Phil Edwards  <pme@sources.redhat.com>
+
+       * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
+       of EqualityComparableConcept.
+
 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
 
        * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
index a70da2db8717191bb10b6b90fd0dc799902bc429..48520a992fa6782457429cd878b820d11a731957 100644 (file)
@@ -534,9 +534,8 @@ inline bool equal(_InputIter1 __first1, _InputIter1 __last1,
   // concept requirements
   __glibcpp_function_requires(_InputIteratorConcept<_InputIter1>);
   __glibcpp_function_requires(_InputIteratorConcept<_InputIter2>);
-  __glibcpp_function_requires(_EqualityComparableConcept<
-        typename iterator_traits<_InputIter1>::value_type>);
-  __glibcpp_function_requires(_EqualityComparableConcept<
+  __glibcpp_function_requires(_EqualOpConcept<
+        typename iterator_traits<_InputIter1>::value_type,
         typename iterator_traits<_InputIter2>::value_type>);
 
   for ( ; __first1 != __last1; ++__first1, ++__first2)