title: Cannot cast from const std::string to void*
body: <p>I have a vector of string and Integers something like 
  std::vector strvect 
  std::vector intvect
  when i am casting from these types to void * , casting from string fails where as to the integer it goes through. Any reason?</p>
  
  <pre class="lang-cpp prettyprint-override"><code>void *data; 
  data = (void *)(strvect .front()); 
  // gives me the error "Cannot cast from string to void * " 
  data = (void *)(intvect.front());
  </code></pre>
  
  <p>Any specific reason? </p>