1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef BOOST_RANGE_ALGORITHM_REMOVE_COPY_HPP_INCLUDED
- #define BOOST_RANGE_ALGORITHM_REMOVE_COPY_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
- {
- namespace range
- {
- template< class SinglePassRange, class OutputIterator, class Value >
- inline OutputIterator
- remove_copy(const SinglePassRange& rng, OutputIterator out_it, const Value& val)
- {
- BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange> ));
- return std::remove_copy(boost::begin(rng), boost::end(rng), out_it, val);
- }
- }
- using range::remove_copy;
- }
- #endif
|