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

Function template partition_copy

Boost , The Boost Algorithm Library , Header <boost/algorithm/cxx11/partition_copy.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 partition_copy

boost::algorithm::partition_copy — Copies the elements that satisfy the predicate p from the range [first, last) to the range beginning at d_first_true, and copies the elements that do not satisfy p to the range beginning at d_first_false.

Synopsis

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

template<typename InputIterator, typename OutputIterator1, 
         typename OutputIterator2, typename UnaryPredicate> 
  std::pair< OutputIterator1, OutputIterator2 > 
  partition_copy(InputIterator first, InputIterator last, 
                 OutputIterator1 out_true, OutputIterator2 out_false, 
                 UnaryPredicate p);

Description

[Note]Note

Эта функция является частью стандартной библиотеки C++2011.

Параметры:

<first>

Начало входной последовательности

<last>

Один за концом входной последовательности

<out_false>

Выходной итератор для записи элементов, которые не удовлетворяют предикату

<out_true>

Выходной итератор для записи элементов, удовлетворяющих предикату в

<p>

Предикат для деления элементов входной последовательности.


PrevUpHomeNext

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




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



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


реклама


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

Время компиляции файла: 2024-08-30 11:47:00
2025-05-19 20:56:47/0.0061371326446533/0