summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-13 09:28:56 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-13 09:28:56 +0000
commit3c444235324c90b817a622f63f4ee066c29f19d4 (patch)
tree6771d3b2b1dabe965deac01a590d77754f259f1a
parent68e730a10435ce0e4c2c78eeca2c5e299409b319 (diff)
downloadgcc-3c444235324c90b817a622f63f4ee066c29f19d4.tar.gz
2001-04-13 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41334 138bc75d-0d04-0410-961f-82ee72b054a4
-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 0c68727f98c..0f1c2d7a1cd 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 a70da2db871..48520a992fa 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)