title: move string vector to another string vector
body: <p>I am trying to move elements in a string vector to another string vector. At the moment I have found a solution but it's only for a integer vector. I know there are obvious changes to be made like the vector but I'm struggling to figure out what else I should change. Below is the code that is used to move a integer vector to another integer vector.</p>
  
  <pre><code>int main() 
  { 
      std :: vector &lt;int&gt; vec1 {1, 2, 3, 4, 5}; 
      std :: vector &lt;int&gt; vec2 {7, 7, 7, 7, 7}; 
  
      // Print elements 
      std :: cout &lt;&lt; "Vector1 contains :"; 
      for(int i = 0; i &lt; vec1.size(); i++) 
          std :: cout &lt;&lt; " " &lt;&lt; vec1[i]; 
      std :: cout &lt;&lt; "\n"; 
  
      // Print elements 
      std :: cout &lt;&lt; "Vector2 contains :"; 
      for(unsigned int i = 0; i &lt; vec2.size(); i++) 
          std :: cout &lt;&lt; " " &lt;&lt; vec2[i]; 
      std :: cout &lt;&lt; "\n\n"; 
  
      // std :: move function 
      // move first 4 element from vec1 to starting position of vec2 
      std :: move (vec1.begin(), vec1.begin() + 4, vec2.begin() + 1); 
  
      // Print elements 
      std :: cout &lt;&lt; "Vector2 contains after std::move function:"; 
      for(unsigned int i = 0; i &lt; vec2.size(); i++) 
          std :: cout &lt;&lt; " " &lt;&lt; vec2[i]; 
      std :: cout &lt;&lt; "\n";
  </code></pre>