From: Jonathan Wakely Date: Fri, 17 Sep 2004 14:11:59 +0000 (+0100) Subject: stl_algo.h (remove): Remove too restrictive concept-check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5fbe527f475516c07fd97d45a2a2f16350c39fd;p=gcc.git stl_algo.h (remove): Remove too restrictive concept-check. 2004-09-17 Jonathan Wakely * include/bits/stl_algo.h (remove): Remove too restrictive concept-check. From-SVN: r87650 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f3f965d25e9..d32dc805d69 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-09-17 Jonathan Wakely + + * include/bits/stl_algo.h (remove): Remove too restrictive + concept-check. + 2004-09-17 Paolo Carlini * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional, diff --git a/libstdc++-v3/include/bits/stl_algo.h b/libstdc++-v3/include/bits/stl_algo.h index 6fed5786ebd..a5118c57208 100644 --- a/libstdc++-v3/include/bits/stl_algo.h +++ b/libstdc++-v3/include/bits/stl_algo.h @@ -1103,8 +1103,6 @@ namespace std // concept requirements __glibcxx_function_requires(_Mutable_ForwardIteratorConcept< _ForwardIterator>) - __glibcxx_function_requires(_ConvertibleConcept<_Tp, - typename iterator_traits<_ForwardIterator>::value_type>) __glibcxx_function_requires(_EqualOpConcept< typename iterator_traits<_ForwardIterator>::value_type, _Tp>) __glibcxx_requires_valid_range(__first, __last);