]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
stl_algo.h (remove): Remove too restrictive concept-check.
authorJonathan Wakely <redi@gcc.gnu.org>
Fri, 17 Sep 2004 14:11:59 +0000 (15:11 +0100)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Sep 2004 14:11:59 +0000 (14:11 +0000)
2004-09-17  Jonathan Wakely  <redi@gcc.gnu.org>

* include/bits/stl_algo.h (remove): Remove too restrictive
concept-check.

From-SVN: r87650

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h

index f3f965d25e9f207f2f10a97232646b4c64f09a8b..d32dc805d698e7c978c29452e1b0f0cefb9d2479 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-17  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * include/bits/stl_algo.h (remove): Remove too restrictive
+       concept-check.
+
 2004-09-17  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/fstream.tcc (xsgetn): Slightly tweak conditional,
index 6fed5786ebd10b75c500bf31e82b826737cef286..a5118c57208032fba1d8df783f7cecd2b7adfe3a 100644 (file)
@@ -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);