...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::partition_point — Given a partitioned range, returns the partition point.
// In header: <boost/algorithm/cxx11/partition_point.hpp> template<typename Range, typename Predicate> boost::range_iterator< Range >::type partition_point(Range & r, Predicate p);