How can I move some elements from first vector to second, and the elements will remove from the first?
if I am using std::move, the elements not removed from first vector.
this is the code I wrote:  
   move(xSpaces1.begin() + 7, xSpaces1.end(), back_inserter(xSpaces2));
 
     
     
     
     
    