I looked at the C ++ documentation for a function that would move a series of elements from one container to another using the move semantics. However, I did not find such a function. What am I missing?
How to do the following without copying and using explicit loops?
// Move 10 elements from beginning of source to end of dest dest.end() <- move(source.begin(), source.begin() + 10)
c ++ algorithm c ++ 11 move-semantics move
ronag
source share