title: Casting from string to void* and back
body: <p>is possible to re-map STL class object from void* ?</p>
  
  <pre><code>#include &lt;string&gt;
  
  void func(void *d)
  {
      std::string &amp;s = reinterpret_cast&lt;std::string&amp;&gt;(d);
  }
  
  int main()
  {
      std::string s = "Hi";
      func(reinterpret_cast&lt;void*&gt;(&amp;s));
  }
  </code></pre>