title: Creating a shared_ptr of vector in C++
body: <p>In modern C++ we can initialize a vector like this:</p>
  
  <pre><code>std::vector&lt;int&gt; v = { 1, 2, 3, 4, 5 };
  </code></pre>
  
  <p>But if I try creating a smart pointer to a vector, this won't compile:</p>
  
  <pre><code>auto v = std::make_shared&lt;std::vector&lt;int&gt;&gt;({ 1, 2, 3, 4, 5 });
  </code></pre>
  
  <p>Is there any better alternative than resorting to <code>push_back</code>s after creation?</p>