title: Why is it impossible to resize a vector of thread specific pointers?
body: <p>The following works just fine:</p>
  
  <pre><code>std::vector&lt;boost::thread_specific_ptr&lt;std::unordered_map&lt;int, int&gt;&gt;&gt; v(1);
  </code></pre>
  
  <p>while the following result in a compilation error:</p>
  
  <pre><code>std::vector&lt;boost::thread_specific_ptr&lt;std::unordered_map&lt;int, int&gt;&gt;&gt; v;
  v.resize(1);
  </code></pre>
  
  <p>Why is that?</p>