title: Hold any kind of C++ template class in member variable
body: <p>I have got two classes.</p>
  
  <p>The first class (A) is builded with an template.</p>
  
  <pre><code>template &lt;class T&gt;
  class A
  {
      public:
          T value;
  };
  </code></pre>
  
  <p>The second class (B) should have an object of class A as member variable. Like this:</p>
  
  <pre><code>class B
  {
      public:
          A&lt;int&gt; value;
  };
  </code></pre>
  
  <p>But now i want to use <strong>any</strong> kind of template-class in class A. Not only <em>int</em>.
  Apparent I can't declare a (member-)variable which contains any kind of a class.
  So, I need something like this:</p>
  
  <pre><code>class B
  {
      public:
          A&lt;*&gt; value;
  };
  </code></pre>
  
  <p>Is there any (clean) solution for this problem?</p>
  
  <p>-- Greeting from Germany, Bastian</p>