2001-04-06 Joe Buck <jbuck@welsh-buck.org>
* stl_algobase.h (std::equal): avoid use of possibly-undefined
operator != (one line patch).
From-SVN: r41170
+2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
+
+ * testsuite/25_algorithms/equal.cc: New test.
+
+2001-04-06 Joe Buck <jbuck@welsh-buck.org>
+
+ * stl_algobase.h (std::equal): avoid use of possibly-undefined
+ operator != (one line patch).
+
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
* include/backward/backward_warning.h: Re-enable.
typename iterator_traits<_InputIter2>::value_type>);
for ( ; __first1 != __last1; ++__first1, ++__first2)
- if (*__first1 != *__first2)
+ if (!(*__first1 == *__first2))
return false;
return true;
}