Re: [PATCH] PR64903 fix number of predicate tests in std::is_partitioned

2017-01-19 Thread Jonathan Wakely
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

Re: [PATCH] PR64903 fix number of predicate tests in std::is_partitioned

2017-01-19 Thread Jonathan Wakely
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!

Re: [PATCH] PR64903 fix number of predicate tests in std::is_partitioned

2017-01-19 Thread Tim Song
On Thu, Jan 19, 2017 at 6:33 PM, Jonathan Wakely wrote: > std::advance(__first, 1); Why not just ++__first;?