PR64903 fix number of predicate tests in std::is_partitioned
commit4833bfef601fdd26f5430ab20bdd2025a3cf4d5c
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jan 2017 23:30:18 +0000 (19 23:30 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jan 2017 23:30:18 +0000 (19 23:30 +0000)
treedf0f94109ca9d6966b92cfaa92042d975f6810b1
parentb68cb29f8cef746648ed83e63bc5721d0fc489b9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244661 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/is_partitioned/2.cc [new file with mode: 0644]