title: How to fill a vector with a range?
body: <p>How would I fill a vector with the numbers from 1 to 10 in C++? I have this but its not working.</p>
  
  <p><code>vector&lt;int&gt;test(10);
      test={ 1, 10 };</code></p>