...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards
...one of the most highly regarded and expertly designed C++ library projects in the world.
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());
Возвращает итератор, указывающий на первый элемент в отсортированном диапазоне<first>,<last>, который не меньше<value>.
first
last
value
См. также:
top_bound()
Статья Function template lower_bound раздела Chapter 1. Boost.Compute Reference может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Reference ::
реклама