partial specialization of template class issue!
<p>The following code is confusing me</p>

<pre><code>//partial specialization of vector 
template&lt;class t&gt;
class vector
{....
};
template&lt;class t&gt;
//teacher said that this partial specialization will handle all type of pointers
class vector&lt;t*&gt;
...
};
</code></pre>

<p>This is confusing me a lot, Suppose t is a char* , as the compiler will first look for the complete specialization as there is no complete specialization here , the partial specialization would be considered.  Now it will become char** in partial specialization as t is char*, then it means we are not achieving the functionality that we want. Please Explain in more understandable manner.</p>
