...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::copy_if
// In header: <boost/compute/algorithm/copy_if.hpp> template<typename InputIterator, typename OutputIterator, typename Predicate> OutputIterator copy_if(InputIterator first, InputIterator last, OutputIterator result, Predicate predicate, command_queue & queue = system::default_queue());
Копии каждого элемента в диапазоне<first>,<last>, для которого<predicate>возвращает<true>в диапазон, начинающийся с<result>.
first
last
predicate
true
result
Статья Function template copy_if раздела Chapter 1. Boost.Compute Reference может быть полезна для разработчиков на c++ и boost.
Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.
:: Главная :: Reference ::
реклама