Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
copy_if.hpp File Reference
#include <algorithm>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
Include dependency graph for copy_if.hpp:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::algorithm
 

Functions

template<typename InputIterator , typename OutputIterator , typename Predicate >
OutputIterator boost::algorithm::copy_if (InputIterator first, InputIterator last, OutputIterator result, Predicate p)
 Copies all the elements from the input range that satisfy the predicate to the output range. More...
 
template<typename Range , typename OutputIterator , typename Predicate >
OutputIterator boost::algorithm::copy_if (const Range &r, OutputIterator result, Predicate p)
 Copies all the elements from the input range that satisfy the predicate to the output range. More...
 
template<typename InputIterator , typename OutputIterator , typename Predicate >
std::pair< InputIterator,
OutputIterator > 
boost::algorithm::copy_while (InputIterator first, InputIterator last, OutputIterator result, Predicate p)
 Copies all the elements at the start of the input range that satisfy the predicate to the output range. More...
 
template<typename Range , typename OutputIterator , typename Predicate >
std::pair< typename
boost::range_iterator< const
Range >::type, OutputIterator > 
boost::algorithm::copy_while (const Range &r, OutputIterator result, Predicate p)
 Copies all the elements at the start of the input range that satisfy the predicate to the output range. More...
 
template<typename InputIterator , typename OutputIterator , typename Predicate >
std::pair< InputIterator,
OutputIterator > 
boost::algorithm::copy_until (InputIterator first, InputIterator last, OutputIterator result, Predicate p)
 Copies all the elements at the start of the input range that do not satisfy the predicate to the output range. More...
 
template<typename Range , typename OutputIterator , typename Predicate >
std::pair< typename
boost::range_iterator< const
Range >::type, OutputIterator > 
boost::algorithm::copy_until (const Range &r, OutputIterator result, Predicate p)
 Copies all the elements at the start of the input range that do not satisfy the predicate to the output range. More...