From 948421e0c986f6ff4040a792f69ad3018aeac4fb Mon Sep 17 00:00:00 2001 From: Phil Edwards Date: Fri, 13 Apr 2001 09:28:56 +0000 Subject: [PATCH] stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept. 2001-04-13 Phil Edwards * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead of EqualityComparableConcept. From-SVN: r41334 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/include/bits/stl_algobase.h | 5 ++--- 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,3 +1,8 @@ +2001-04-13 Phil Edwards + + * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead + of EqualityComparableConcept. + 2001-04-13 Phil Edwards * include/bits/boost_concept_check.h: Uglify, fork from Boost. 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) -- 2.30.2