Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Function template copy_while

Boost , The Boost Algorithm Library , Header <boost/algorithm/cxx11/copy_if.hpp>

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function template copy_while

boost::algorithm::copy_while — Copies all the elements at the start of the input range that satisfy the predicate to the output range.

Synopsis

// In header: <boost/algorithm/cxx11/copy_if.hpp>

template<typename Range, typename OutputIterator, typename Predicate> 
  std::pair< typename boost::range_iterator< const Range >::type, OutputIterator > 
  copy_while(const Range & r, OutputIterator result, Predicate p);

Description

Параметры:

p

Конкурс для тестирования элементов диапазона

r

Инъекционный диапазон

результат

Выходной итератор для записи результатов в

Возвращение:

обновленные итераторы ввода и вывода


PrevUpHomeNext

Статья Function template copy_while раздела The Boost Algorithm Library Header <boost/algorithm/cxx11/copy_if.hpp> может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: Header <boost/algorithm/cxx11/copy_if.hpp> ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-05-20 00:28:20/0.0048859119415283/1