| Home | Libraries | People | FAQ | More

## Function template copy_or_move

boost::copy_or_move

## Synopsis

    // In header: <boost/move/move.hpp>

    template<typename I, typename F> F copy_or_move(I f, I l, F r);

## Description

Effects:

       for (; first != last; ++result, ++first)
          *result = *first;

Returns: result

Note: This function is provided because std::uninitialized_copy from some STL implementations is not compatible with `move_iterator`