Boost C++ Libraries

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

PrevUpHomeNext

Header <boost/algorithm/is_partitioned_until.hpp>

Tell if a sequence is partitioned.

Alexander Zaitsev

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

PrevUpHomeNext