On 20/01/17 00:11 +, Jonathan Wakely wrote:
On 19/01/17 19:08 -0500, Tim Song wrote:
On Thu, Jan 19, 2017 at 6:33 PM, Jonathan Wakely wrote:
std::advance(__first, 1);
Why not just ++__first;?
Good question. I have no idea why I did it like that!
Fixed like so. Committed to trunk.
co
On 19/01/17 19:08 -0500, Tim Song wrote:
On Thu, Jan 19, 2017 at 6:33 PM, Jonathan Wakely wrote:
std::advance(__first, 1);
Why not just ++__first;?
Good question. I have no idea why I did it like that!
On Thu, Jan 19, 2017 at 6:33 PM, Jonathan Wakely wrote:
> std::advance(__first, 1);
Why not just ++__first;?
PR libstdc++/64903
* include/bits/stl_algo.h (is_partioned): Don't retest the partition
point.
* testsuite/25_algorithms/is_partitioned/2.cc: New test.
Tested powerpc64le-linux, committed to trunk.
commit 5e9b690d27ac3cecf138bac904606f5728ca452f
Author: Jonathan W