Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
partition_point.hpp File Reference

Find the partition point in a sequence. More...

#include <algorithm>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
Include dependency graph for partition_point.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

template<typename ForwardIterator , typename Predicate >
ForwardIterator boost::algorithm::partition_point (ForwardIterator first, ForwardIterator last, Predicate p)
 Given a partitioned range, returns the partition point, i.e, the first element that does not satisfy p. More...
 
template<typename Range , typename Predicate >
boost::range_iterator< Range > boost::algorithm::partition_point (Range &r, Predicate p)
 Given a partitioned range, returns the partition point. More...
 

Detailed Description

Find the partition point in a sequence.

Author
Marshall Clow