Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Header <boost/algorithm/cxx11/is_partitioned.hpp>

Tell if a sequence is partitioned.

Marshall Clow

namespace boost {
  namespace algorithm {
    template<typename InputIterator, typename UnaryPredicate> 
      bool is_partitioned(InputIterator, InputIterator, UnaryPredicate);
    template<typename Range, typename UnaryPredicate> 
      bool is_partitioned(const Range &, UnaryPredicate);