title: read arguments from variadic template
body: <p>I am a little confused about how can I read each argument from the tuple by using variadic templates.</p>
  
  <p>Consider this function:</p>
  
  <pre><code>template&lt;class...A&gt; int func(A...args){
  int size = sizeof...(A);
  .... }
  </code></pre>
  
  <p>I call it from the main file like:</p>
  
  <pre><code>func(1,10,100,1000);
  </code></pre>
  
  <p>Now, I don't know how I have to extend the body of <code>func</code> to be able to read each argument separately so that I can, for example, store the arguments in an array.</p>