title: how to copy std::vector<const char*> into void*?
body: <p>I have a <code>std::vector&lt;const char*&gt; v</code> vector fully initiated with strings. How do I copy it into an initialized <code>void*</code>?</p>
  
  <pre><code>int main() {
   std::vector&lt;const char*&gt; v;
   v.push_back("abc");
   v.push_back("def"); 
   void* b = malloc(6);
  
   // how to copy v in to b?
  }
  </code></pre>
  
  <p>Thank you </p>