title: C++ vector change type
body: <p>I'm wondering if the below is a valid conversion of vector type:</p>
  
  <pre><code>vector&lt;UINT16&gt; u;
  vector&lt;UINT8&gt; v(u.begin(), u.end());
  </code></pre>
  
  <p>I found this link relevant:
  <a href="https://stackoverflow.com/questions/6399090/c-convert-vectorint-to-vectordouble">C++ convert vector&lt;int&gt; to vector&lt;double&gt;</a></p>
  
  <p>However, need to confirm if the above conversion is valid or not.</p>