title: C++ : Does char pointer to std::string conversion copy the content?
body: <p>When I convert a <code>char*</code> to <code>std::string</code> using the constructor:</p>
  
  <pre><code>char *ps = "Hello";
  std::string str(ps);
  </code></pre>
  
  <p>I know that std containers tend to copy values when they are asked to store them. 
  Is the whole string copied or the pointer only?
  if afterwards I do <code>str = "Bye"</code> will that change ps to be pointing to "Bye"?</p>