PR64903 fix number of predicate tests in std::is_partitioned
authorJonathan Wakely <jwakely@redhat.com>
Thu, 19 Jan 2017 23:30:18 +0000 (23:30 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 19 Jan 2017 23:30:18 +0000 (23:30 +0000)
commitc4e5baa663ab629ee0f2de1e9946ab34642b5ad6
treedf0f94109ca9d6966b92cfaa92042d975f6810b1
parent945a01f92138e0887ac258c7979392fb4661aa97
PR64903 fix number of predicate tests in std::is_partitioned

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.

From-SVN: r244661
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/is_partitioned/2.cc [new file with mode: 0644]