Re: [patch] C++14: N3671 Making non-modifying sequence operations more robust

2013-06-16 Thread Jonathan Wakely
On 15 June 2013 16:48, Jonathan Wakely wrote: > On 11 June 2013 00:11, Jonathan Wakely wrote: >> On 10 June 2013 23:08, Chris Jefferson wrote: >>> After we are in the 'if(__ra_iters)' case, and checked that __d1==__d2, >>> could dispatch to old-fashioned equal(__first1, __last1, __first2, >>> __bin

[patch] C++14: N3671 Making non-modifying sequence operations more robust

2013-06-08 Thread Jonathan Wakely
Another C++14 feature. * include/bits/stl_algo.h (is_permutation): Add overloads from N3671. * include/bits/stl_algobase.h (equal, mismatch): Likewise. * testsuite/25_algorithms/equal/1.cc: Remove duplicate test case. * testsuite/25_algorithms/equal/2.cc: New.