title: Passing class template as a function parameter
body: <p>This question is a result of my lack of understanding of a situation, so please bear if it sounds overly stupid. </p>
  
  <p>I have a function in a class, like:</p>
  
  <pre><code>Class A {
  
  void foo(int a, int b, ?)
  {
   ----
   }
  }
  </code></pre>
  
  <p>The third parameter I want to pass, is a typed parameter like</p>
  
  <pre><code>classA&lt;classB&lt;double &gt;  &gt; obj
  </code></pre>
  
  <p>Is this possible? If not, can anybody please suggest a workaround? I have just started reading about templates.</p>
  
  <p>Thanks,<br>
  Sayan</p>