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/is_partitioned_until.hpp>

Tell if a sequence is partitioned.

Alexander Zaitsev

namespace boost {
  namespace algorithm {
    template<typename InputIterator, typename UnaryPredicate> 
      is_partitioned_until(InputIterator, InputIterator, UnaryPredicate);
    template<typename Range, typename UnaryPredicate> 
      boost::range_iterator< const Range >::type 
      is_partitioned_until(const Range &, UnaryPredicate);