title: C++ Arrays and make_unique
body: <p>As a follow up to <a href="https://stackoverflow.com/questions/7038357/make-unique-and-perfect-forwarding">this</a> post I wonder how its implementation of <code>make_unique</code> plays with allocating function-temporary buffer arrays such as in the following code.</p>
  
  <pre><code>f()
  {
    auto buf = new int[n]; // temporary buffer
    // use buf ...
    delete [] buf;
  }
  </code></pre>
  
  <p>Can this be replaced with some call to <code>make_unique</code> and will the <code>[]</code>-version of delete be used then?</p>