From 3c444235324c90b817a622f63f4ee066c29f19d4 Mon Sep 17 00:00:00 2001 From: pme Date: Fri, 13 Apr 2001 09:28:56 +0000 Subject: 2001-04-13 Phil Edwards * 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 --- 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) -- cgit v1.2.1