title: C++ Pass an array as list of arguments to function
body: <p>I have an array with some values, but I have no idea how many there are. I would like to pass each value as an argument like this:</p>
  
  <pre><code>char const*[] array = {"foo","bar",.../*some other objects*/};
  something(array.somethingThatTurnsThisIntoArguments());
  </code></pre>
  
  <p>would this be possible to do? Also, the function <code>something()</code> is unchangeable, so I cannot re-write the function with parameters of type <code>std::vector</code></p>