when we need to provide template parameters to define a class?
<pre><code>template&lt;typename T&gt; class A // template parameterization
{
   private:
      T t;
   A(const T&amp; v) : t(v) {}
};

class B
{
    template&lt;typename T&gt;
    B(const T&amp; v)
    {
        std::cout &lt;&lt; v &lt;&lt; std::endl;
    }
};

// usage of A and B
A&lt;int&gt; a;
B      b(10);
</code></pre>

<p>Question> In what circumstances, we have to provide template parameters in order to define a class variable.</p>

<p>For example,</p>

<p>If the class contains a template member variable or ???</p>

<p>Thank you</p>
