title: Add multiple values to a vector
body: <p>I have a vector of ints that I want to add multiple values too but too many values to add using a lot of <code>push_backs</code>. Is there any method of adding multiple values at the end of a vector. Something along the lines of this:</p>
  
  <pre><code>std::vector&lt;int&gt; values
  values += {3, 9, 2, 5, 8, etc};
  </code></pre>
  
  <p>I found that boost has something like this, but I would like not having to include boost.</p>
  
  <pre><code>#include &lt;boost/assign/std/vector.hpp&gt;
  
  using namespace boost::assign;
  
  {
      std::vector&lt;int&gt; myElements;
      myElements += 1,2,3,4,5;
  }
  </code></pre>
  
  <p>Which seems to be declared like this:</p>
  
  <pre><code>template &lt;class V, class A, class V2&gt;
  inline list_inserter&lt;assign_detail::call_push_back&lt;std::vector&lt;V,A&gt; &gt;, V&gt; 
  operator+=( std::vector&lt;V, A&gt;&amp; c, V2 v )
  {
      return push_back( c )( v );
  }
  </code></pre>
  
  <p>Is there any C++/C++11 way to do this or, if not, how would it be implemented?</p>