...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::is_partitioned
// In header: <boost/compute/algorithm/is_partitioned.hpp> template<typename InputIterator, typename UnaryPredicate> bool is_partitioned(InputIterator first, InputIterator last, UnaryPredicate predicate, command_queue & queue = system::default_queue());