title: Generating one class member per variadic template argument
body: <p>I have a template class where each template argument stands for one type of value the internal computation can handle. Templates (instead of function overloading) are needed because the values are passed as boost::any and their types are not clear before runtime. </p>
  
  <p>To properly cast to the correct types, I would like to have a member list for each variadic argument type, something like this:</p>
  
  <pre><code>template&lt;typename ...AcceptedTypes&gt; // e.g. MyClass&lt;T1, T2&gt;
  class MyClass {
      std::vector&lt;T1&gt; m_argumentsOfType1;
      std::vector&lt;T2&gt; m_argumentsOfType2; // ...
  };
  </code></pre>
  
  <p>Or alternatively, I'd like to store the template argument types in a list, as to do some RTTI magic with it (?). But how to save them in a std::initializer_list member is also unclear to me.</p>
  
  <p>Thanks for any help!</p>