title: Recursive inheritance with variadic templates and inherited parameter problems
body: <p>If I use a chain of inheritance like the following example I could use vars from the deepest base without any problems:</p>
  
  <pre><code>    class A { public: int x; };
      class B : public A { };
      class C: public B { public: void Do() { cout &lt;&lt; x &lt;&lt; endl; } };
  </code></pre>
  
  <p>If I do the same with recursive variadic template classes I could not access my vars. Any idea how to access the vars and why I could not see my vars?</p>
  
  <pre><code>    template &lt;class ...Parms&gt;
      class Example;
  
      template &lt;class Head, class ...Parms&gt;
      class Example&lt;Head, Parms...&gt;: public Example&lt;Parms...&gt;
      {
      };
  
      template &lt;&gt;
      class Example&lt;&gt;
      {
          public:
          int x;
      };
  
      template &lt;class ...Parms&gt;
      class Last: public Example&lt;Parms...&gt;
      {
          void Do() { cout &lt;&lt; x &lt;&lt; endl; }
      };
  </code></pre>
  
  <p>Compile fails before any instance of the class is instantiated!</p>