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