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

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template partition_point

boost::algorithm::partition_point — Given a partitioned range, returns the partition point.

Synopsis

// In header: <boost/algorithm/cxx11/partition_point.hpp>


template<typename Range, typename Predicate> 
  boost::range_iterator< Range >::type partition_point(Range & r, Predicate p);

Description

Parameters:

p

The predicate to test the values with

r

The input range


PrevUpHomeNext