1234567891011121314151617181920212223242526272829303132333435363738 |
- #ifndef BOOST_RANGE_ALGORITHM_REMOVE_COPY_IF_HPP_INCLUDED
- #define BOOST_RANGE_ALGORITHM_REMOVE_COPY_IF_HPP_INCLUDED
- #include <boost/concept_check.hpp>
- #include <boost/range/begin.hpp>
- #include <boost/range/end.hpp>
- #include <boost/range/concepts.hpp>
- #include <algorithm>
- namespace boost
- {
-
-
-
-
-
-
-
-
-
- template< class SinglePassRange, class OutputIterator, class Predicate >
- inline OutputIterator
- remove_copy_if(const SinglePassRange& rng, OutputIterator out_it, Predicate pred)
- {
- BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange> ));
- return std::remove_copy_if(boost::begin(rng), boost::end(rng), out_it, pred);
- }
- }
- #endif
|