This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: N3671 std::mismatch and std::equals parallel versions
- From: François Dumont <frs dot dumont at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 01 Oct 2013 21:45:43 +0200
- Subject: Re: N3671 std::mismatch and std::equals parallel versions
- Authentication-results: sourceware.org; auth=none
- References: <5249DA82 dot 8090202 at gmail dot com> <CAH6eHdSZnit_VwFQe6szT+-Jq7MDoWxL9tW=LByeCkpBLe4B6g at mail dot gmail dot com>
On 09/30/2013 10:26 PM, Jonathan Wakely wrote:
+ // Parallel mismatch for random access iterators + template<typename
_RAIter1, typename _RAIter2, typename _Predicate> + inline bool +
__equal_switch(_RAIter1 __begin1, _RAIter1 __end1, + _RAIter2
__begin2, _RAIter2 __end2, _Predicate __pred, +
random_access_iterator_tag, random_access_iterator_tag) The comment
says mismatch, not equal.
Patch applied, I also replaced equals with equal within ChangeLog.
François