title: C++ passing parameter pack to class
body: <p>I'd like to have a class that gets in it's Ctor unlimited parameters of the same type, and stores them into a vector. It should look like that:</p>
  
  <pre><code>class A(int a, int b, **N time parameter of type T**)
  : data(**vector will get N times type T**)
  {
  }
  
  protected:
  vector&lt;T&gt; data;
  </code></pre>
  
  <p>How should I implement it? Solution could be in c++11/14
  I got a few errors such as "parameter packs not expanded with ‘…' ", etc..</p>