title: Inheriting From Specialized Template Struct/Class
body: <p>Is it possible to inherit a specialized struct/class like following?</p>
  
  <pre><code>template&lt;class TKey, class TData&gt;
  struct Container
  {
      virtual void Add(TKey key, TData data) = 0;
  };
  
  template&lt;class TData&gt;
  struct Container&lt;int, TData&gt;
  {
      virtual void Add(int key, TData data) = 0;
  };
  
  struct TicketContainer : public Container&lt;std::string&gt;
  {
      void Add(int key, std::string data)
      {
      }
  };
  </code></pre>
  
  <p>I am getting errors in <code>TicketContainer</code> declaration complaining too few template parameters declared.</p>