Copy a subset of a sequence to a new sequence. More...
#include <algorithm>
#include <utility>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
Namespaces | |
boost | |
Duration formatting facet for input. | |
boost::algorithm | |
Functions | |
template<typename InputIterator , typename OutputIterator1 , typename OutputIterator2 , typename UnaryPredicate > | |
std::pair< OutputIterator1, OutputIterator2 > | boost::algorithm::partition_copy (InputIterator first, InputIterator last, OutputIterator1 out_true, OutputIterator2 out_false, UnaryPredicate p) |
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. More... | |
template<typename Range , typename OutputIterator1 , typename OutputIterator2 , typename UnaryPredicate > | |
std::pair< OutputIterator1, OutputIterator2 > | boost::algorithm::partition_copy (const Range &r, OutputIterator1 out_true, OutputIterator2 out_false, UnaryPredicate p) |
Copy a subset of a sequence to a new sequence.