The use of T[] as a template parameter : <p>I've recently stumbled upon the use of <code>unique_ptr&lt;T[]&gt;</code>, where I understand that the aim is to delete the pointer with <code>delete[]</code>. </p>

<p>What puzzles me is that <code>unique_ptr&lt;T[3]&gt;</code> is instead invalid (correct me if I'm wrong). </p>

<p>What is the type of T[] in the template? How is it different from T[3]? These are arrays, so shouldn't they be the same? Is there any other use of T[] as a type in templates?</p>
