aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2001-04-13 09:28:56 +0000
committerPhil Edwards <pme@gcc.gnu.org>2001-04-13 09:28:56 +0000
commit948421e0c986f6ff4040a792f69ad3018aeac4fb (patch)
tree6771d3b2b1dabe965deac01a590d77754f259f1a
parent62bb0c97fdbb70f6f93fb0d77e1743117ae53930 (diff)
downloadgcc-948421e0c986f6ff4040a792f69ad3018aeac4fb.zip
gcc-948421e0c986f6ff4040a792f69ad3018aeac4fb.tar.gz
gcc-948421e0c986f6ff4040a792f69ad3018aeac4fb.tar.bz2
stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept.
2001-04-13 Phil Edwards <pme@sources.redhat.com> * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept. From-SVN: r41334
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/stl_algobase.h5
2 files changed, 7 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 0c68727..0f1c2d7 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,10 @@
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.
* include/bits/concept_check.h: Uglify.
* include/bits/stl_algo.h: Likewise.
diff --git a/libstdc++-v3/include/bits/stl_algobase.h b/libstdc++-v3/include/bits/stl_algobase.h
index a70da2d..48520a9 100644
--- a/libstdc++-v3/include/bits/stl_algobase.h
+++ b/libstdc++-v3/include/bits/stl_algobase.h
@@ -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)