![]() |
Home | Libraries | People | FAQ | More |
boost::copy_or_move
// In header: <boost/move/algorithm.hpp> template<typename I, typename F> F copy_or_move(I f, I l, F r);
Effects:
for (; f != l; ++r, ++f) *r = *f;
Returns: r
Note: This function is provided because std::copy from some STL implementations is not compatible with move_iterator