title: STL container as a template parameter
body: <p>I'm trying to pass an STL container as a template parameter. In this case, the vector.</p>
  
  <p>Here is my not-functional code:</p>
  
  <pre><code>template&lt;template&lt;class&gt; class TContainer, class TObject&gt;
  class Foobar
  {
  public:
  
      explicit Foobar( TContainer&lt;TObject*&gt; &amp; container )
      :
      container_( container ){}
  
  
  private:
  
      TContainer&lt;TObject*&gt; &amp; container_;
  };
  
  
  int _tmain(int argc, _TCHAR* argv[])
  {
      std::vector&lt;IUnknown*&gt; v;
  
      Foobar&lt;std::vector, IUnknown*&gt; bla( v );
  
      return 0;
  }
  </code></pre>
  
  <p>Is this, what I'm trying to do possible at all, because the compiler cannot swallow this?</p>