title: Moving a vector element to the back of the vector
body: <p>Is there any better way (either faster or with fewer symbols of code) than erasing the element and re-adding it to the back?</p>
  
  <pre><code>template &lt;typename T&gt;
  void moveItemToBack(std::vector&lt;T&gt;&amp; v, size_t itemIndex)
  {
     T tmp(v[itemIndex]);
     v.erase(v.begin() + itemIndex);
     v.push_back(tmp);
  }
  </code></pre>