...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::partition_point — Partition point algorithm.
// In header: <boost/compute/algorithm/partition_point.hpp> template<typename InputIterator, typename UnaryPredicate> InputIterator partition_point(InputIterator first, InputIterator last, UnaryPredicate predicate, command_queue & queue = system::default_queue());
Finds the end of true values in the partitioned range [first, last) Space complexity: \Omega(1)
See Also:
partition() and stable_partition()
Parameters: |
|
||||||||
Returns: |
Iterator pointing to end of true values |