title: unique_ptr<int[]> or vector<int>?
body: <p>If you don't need dynamic growth and don't know the size of the buffer at compile time, when should <code>unique_ptr&lt;int[]&gt;</code> be used instead of <code>vector&lt;int&gt;</code> if at all?</p>
  
  <p>Is there a significant performance loss in using <code>vector</code> instead of <code>unique_ptr</code>?</p>