...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::transform_if
// In header: <boost/compute/algorithm/transform_if.hpp> template<typename InputIterator, typename OutputIterator, typename UnaryFunction, typename Predicate> OutputIterator transform_if(InputIterator first, InputIterator last, OutputIterator result, UnaryFunction function, Predicate predicate, command_queue & queue = system::default_queue());