title: C++ - Convert vector<uint64> to a single number
body: <p>There is a method to convert a <code>std::vector&lt;uint64&gt;</code> to a single number?</p>
  <p>I have a vector like this:</p>
  <pre><code>v[0] = 0;
  v[1] = 6796890219657246832;
  </code></pre>
  <p>Or like this:</p>
  <pre><code>v[0] = 16377;
  v[1] = 2631694347470643681;
  v[2] = 11730294873282192384;
  </code></pre>
  <p>The result I like to get is, in the first case <code>6796890219657246832</code> and in the second: <code>16377263169434747064368111730294873282192384</code>. My main problem is choosing the data type for the value as it is possible that the vector size is not always 2 but it could be 5 or higher.</p>